commit | 333c9633452269b73fa86538c2de8b978f28a691 | [log] [tgz] |
---|---|---|
author | Abhi Patel <abhipatel@chromium.org> | Fri Jan 10 16:12:13 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 10 16:12:13 2025 |
tree | 617e5af4be8c4e1349264789b13dffc61fe35589 | |
parent | 7157743ea5bbe128e5c11a66cbc7a6b86deeacab [diff] |
UrlMatcherWithBypass: Create separate matchers for each domain. Reasoning: Currently, matchers are created per ResourceOwner. However, in future changes, we will require granularity at the resource level with experiment groups. The proposed change creates a matcher for every resource and then uses pointers to group the necessary ones together under partitions. This sets the foundation for future changes. Concerns: Memory - This change is not expected to have a significant impact on memory usage since the total number of matchers is similar as before, only reorganized. Lookup Efficiency - Using a single matcher with multiple rules does similar sequential matching under the hood, so this should be relatively similar in terms of efficiency. Change-Id: I9f94364619fcbd9774cd8e0a6e06fde213a70ffe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6147711 Reviewed-by: Alex Kallam <aakallam@chromium.org> Reviewed-by: Dustin Mitchell <djmitche@chromium.org> Commit-Queue: Abhi Patel <abhipatel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1404812}
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.