commit | b5198477eba3658504321e68c07019d2e8eee152 | [log] [tgz] |
---|---|---|
author | Alex Moshchuk <alexmos@chromium.org> | Fri Mar 29 00:57:31 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 29 00:57:31 2024 |
tree | bdb524407214870613d174c862da4034badd44ec | |
parent | 71aa88291b73b0759170b8a8fc19fde07372ee05 [diff] |
Make ChildProcessSecurityPolicy::CanCommitURL content-internal. Code outside //content shouldn't really be asking whether a particular URL is allowed to commit in a given process, since the actual navigation commit logic is inside //content. CanCommitURL() was already not used by non-test code outside of //content, so this CL moves it out of the content/public ChildProcessSecurityPolicy API. It remains accessible via ChildProcessSecurityPolicyImpl, and a test-only helper is added to maintain coverage in an extension-related blob/filesystem test. Bug: 325410297 Change-Id: I158786a41a26e88c506b0c0543fd6760387111c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5398459 Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Commit-Queue: Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1280021}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.