commit | ebb1a122a304ce6a35073c95786f45e92d486c8b | [log] [tgz] |
---|---|---|
author | Adam Rice <ricea@chromium.org> | Wed Oct 12 07:44:19 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 12 07:44:19 2022 |
tree | 05fab3baa56d910fb278e0d6be75f620afb1f32a | |
parent | 38d360f3f0fac6a98b17863bee700e8234d021d8 [diff] |
Stop CacheTransparencySettings being a singleton Split CacheTransparencySettings out into its own file, and make it a member of NetworkContext instead of being a singleton. This retains the benefit of avoiding redundant parsing of the pervasive payload list, while avoiding the threading issues caused by using a singleton. Make URLLoader take a pointer to CacheTransparencySettings in the constructor. Take the opportunity to rename the flag accessors in CacheTransparencySettings to be consistent. BUG=1336446 Change-Id: I0e471521dfa1d5e4074b2e7eeb6429e345e7c76d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3859206 Reviewed-by: Vladimir Nechaev <nechaev@chromium.org> Reviewed-by: Steven Valdez <svaldez@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Auto-Submit: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/main@{#1057918}
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.