commit | c6a3bafd39a25f7dec89f39155e312eab8fe01bd | [log] [tgz] |
---|---|---|
author | Etienne Pierre-Doray <[email protected]> | Tue Dec 11 22:09:51 2018 |
committer | Commit Bot <[email protected]> | Tue Dec 11 22:09:51 2018 |
tree | 573016682f2b25a8f31f5d897fc418bd376a6d0a | |
parent | 91782b91fea6ad588b5c221a79b1dc3cbb4c696c [diff] |
[TaskScheudler]: Migrate off of ScopedAllowWait in /chrome base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more explicit counterpart. It should have been replaced by : * base::ScopedAllowBaseSyncPrimitivesForTesting in test files. * base::ScopedAllowSyncPrimitives in non-test files * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads that don't allow blocking The last one is strongly frowned upon but this CL aims to document existing behavior rather than address it. Owners are encouraged to follow-up by fixing unnecessary waits and more particularly unnecessary waits outside-blocking-scope. Note: The non-for-testing versions require friend'ing in thread_restrictions.h but care was taken to add these friends ahead of git cl split (since it wasn't possible to do a line-by-line associated CL split). Refer to the top-level CL if necessary : https://chromium-review.googlesource.com/c/chromium/src/+/1288533 Please CQ if LGTY! This CL was uploaded by git cl split. [email protected] Bug: 766678 Change-Id: Ifef9e8ac9c9893f4e11e20dc8221578971904b6f Reviewed-on: https://chromium-review.googlesource.com/c/1325194 Commit-Queue: Etienne Pierre-Doray <[email protected]> Reviewed-by: Nico Weber <[email protected]> Cr-Commit-Position: refs/heads/master@{#615683}
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 .