commit | e329cb9df7aa3132c0687d46db3a3ffb2c065aed | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@chromium.org> | Tue Aug 28 16:09:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 28 16:09:40 2018 |
tree | 35a85fa8de6b15af066c48690e6c724fb17301c6 | |
parent | 0527de47e7db6f6448483b88ff4be5da03e3698d [diff] |
content: Add a TaskTraits extension and TaskExecutor for BrowserThreads. This allows using //base/task/post_task.h for posting tasks to a BrowserThread by specifying a BrowserThread::ID as a task trait. Also adds a content::NonNestable task trait to support non-nestable tasks in base::PostTaskWithTraits. In the future, we will add further traits to facilitate scheduling tasks onto different SequenceManager queues on the UI thread, see: https://docs.google.com/document/d/1z1BDq9vzcEpkhN9LSPF5XMnZ0kLJ8mWWkNAi4OI7cos/edit?usp=sharing Bug: 867421, 863341, 878356 Change-Id: Id8b7bc2e374917ceb421c7f6139790e6f1457511 Reviewed-on: https://chromium-review.googlesource.com/1181364 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: François Doray <fdoray@chromium.org> Reviewed-by: Alex Clarke <alexclarke@chromium.org> Cr-Commit-Position: refs/heads/master@{#586728}
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 .