commit | f0073e34c7ddb8177738fbd76703a7b92b8a7e75 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Tue Aug 01 18:58:43 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 01 18:58:43 2017 |
tree | 3021803dd4df246a25ad78e69e4138492e1945c3 | |
parent | 236d3a7e7eb6a4c0815b727b9c30bee059330e76 [diff] |
[Task Migration][Extensions] Update ApiResourceManager api_resource_manager.h mentioned the FILE thread in a comment when discussing resources on named threads (and theoretically would have allowed its use). Update the comment to not mention the FILE thread and add explicit notes that the only allowed threads are the IO and UI threads, which are all we currently use, along with a note about how the API could be expanded, if need be. To be safe, also add a static assert to ensure that resources use no other threads. Since we currently only need IO and UI threads, this CL doesn't rearchitect anything unnecessarily. Bug: 689520 Change-Id: I5d304fd9153865af7c9778d93b34f2e20ddb95a6 Reviewed-on: https://chromium-review.googlesource.com/591688 Reviewed-by: Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#491065}
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 .