commit | cc4d947f76afea1dd0491cac12548bfd2247b4e2 | [log] [tgz] |
---|---|---|
author | Takashi Toyoshima <toyoshim@chromium.org> | Tue Jun 24 08:38:34 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 24 08:38:34 2025 |
tree | eaa4b826ebb67b8877bebab1334dcc379587b281 | |
parent | 29bf204de1ca72dd88eb7f8b30a48fc9b4e85b72 [diff] |
NavigationThrottleRunner2: Decouple request and runner This patch decouples the NavigationThrottleRunner from the NavigationRequest, and makes it owned by the NavigationThrottleRegistry. The registry will manage the runner v1 and v2 flip, behind a flag. In the v2 runner, it allows more than one deferring throttle, and this new abstraction at the NavigationThrottleRegistryImpl defines a modified API set to support the case. Currently, it just wraps the v1 runner and calls the original API set to mimic the new API set. The registry's callers should care for the multiple deferring throttles after this change, though the actual underlying implementation may support only one deferring throttle within the default config. Bug: 422003056 Change-Id: I3f6c82103562b7ce5b5f7fd133a332ebd142be42 Low-Coverage-Reason: not regressed by this CL Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6644612 Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1477778}
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.