Refactor TLSAA permission context to respect `persist` parameter This doesn't change any behavior, since the permission context previously explicitly bailed out of persisting non-ALLOW settings. Writing the logic to only look at the `persist` parameter makes the flow easier to reason about/debug. This CL also makes a number of no-op refactorings to simplify assertions and share code in the unit tests. (I'm happy to split those into their own CL if you prefer.) It also adds a non-RWS unit test that verifies the denial is not persisted. Change-Id: I22926e02660a321ea0b1bc1181e2f6e67fccff8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5718710 Reviewed-by: Shuran Huang <shuuran@chromium.org> Commit-Queue: Chris Fredrickson <cfredric@chromium.org> Auto-Submit: Chris Fredrickson <cfredric@chromium.org> Cr-Commit-Position: refs/heads/main@{#1329587}
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.