commit | 00c5639df892ce837b9cda20a66821a33a54b7ed | [log] [tgz] |
---|---|---|
author | Alex Clarke <alexclarke@chromium.org> | Fri Feb 15 20:22:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 15 20:22:56 2019 |
tree | 5e2d1b3949c605434fc97bcc04eda1e185844852 | |
parent | 56b0ac8317d888c8f567dad6b4853f7757f426ea [diff] |
Let base::Thread::Options pass in an unbound MessageLoopBase This allows us to construct a SequenceManager and vend task queues before launching a thread. This should be useful in blink for launching workers (which currently have a worker scheduler on top of a MessageLoop), if we need an IO Thread scheduler (it looks like we might the IO thread is congested during startup) and for the BrowserThreadTest with a BrowserUIThreadScheduler. The message_pump_factory_ was added to base::Thread to support these two use cases: https://cs.chromium.org/search/?q=message_pump_factory&type=cs Bug: 863341, 872372 Change-Id: Ic30052e8af4a9351467792e70b7d7b65027d8a9a Reviewed-on: https://chromium-review.googlesource.com/c/1462801 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Auto-Submit: Alex Clarke <alexclarke@chromium.org> Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#632741}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .