commit | babe8235c5c274ece0e7e76bdfd1bebb4e98b6cd | [log] [tgz] |
---|---|---|
author | Aaron Colwell <acolwell@google.com> | Fri Dec 07 19:38:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 19:38:00 2018 |
tree | 14f4a644a23f890abeec19a91a52bbb032a6c0d1 | |
parent | 683ce59446ef4b24746759c4b5c5a91180d3990b [diff] |
Restrict CanAccessDataForOrigin() calls to the UI and IO threads. - Adding DCHECK to make sure CanAccessDataForOrigin() is only called on the UI or IO thread. This is needed for future CLs that will need to use information in the BrowserContext or ResourceContext to determine if data access is allowed. - Fix existing code that was calling CanAccessDataForOrigin() on worker threads so that it doesn't trigger the new DCHECK. Bug: 898281 Change-Id: I03ab137dad3fcec5c7c2152855816156489f91c0 Reviewed-on: https://chromium-review.googlesource.com/c/1359463 Commit-Queue: Aaron Colwell <acolwell@chromium.org> Reviewed-by: Joshua Bell <jsbell@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#614785}
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 .