| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
scheduler::MainThreadSchedulerImpl* main_thread_scheduler() const {Blink Style Guide: Naming - Use 'CamelCase' for all function names. Please rename `main_thread_scheduler` to `MainThreadScheduler`.
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
scheduler::MainThreadSchedulerImpl* main_thread_scheduler() const {Blink Style Guide: Naming - Use 'CamelCase' for all function names. Please rename `main_thread_scheduler` to `MainThreadScheduler`.
To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason
_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Acknowledged; underscore is encouraged for accessors.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[blink] Migrate away from TestingPlatformSupportWithMockScheduler
This CL replaces all of TestingPlatformSupportWithMockScheduler by
TestingPlatformSupport + TaskEnvironment in blink, because
TestingPlatformSupportWithMockScheduler relies on (deprecated)
ThreadControllerImpl to run the scheduler on top of another task runner.
This adjust scheduler control (e.g. RunUntilIdle) somewhat mechanically.
Why not add just TaskEnvironment in
TestingPlatformSupportWithMockScheduler: TaskEnvironment doesn't support
being nested; most tests using TestingPlatformSupportWithMockScheduler
already have a TaskEnvironment. We could add TaskEnvironment inside
TestingPlatformSupportWithMockScheduler and keep it in tests that don't
otherwise have TaskEnvironment; but this is a minority, so for
simplicity this CL makes sure every tests has a TaskEnvironment.
This also adds a TaskEnvironmentWithMainThreadScheduler that doesn't
instantiate a full Blink Main Thread for blink_platform_unittests that
doesn't support it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |