commit | 6c730a951c88c004a90b5777b95d3d3d8c4632cf | [log] [tgz] |
---|---|---|
author | Byungwoo Lee <blee@igalia.com> | Fri Dec 30 03:50:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 30 03:50:34 2022 |
tree | 34b73505fce5d45200ff07d0a34d18bee9d3176d | |
parent | 3c69a9fd00a82067a6d470a947eb16d103774e3d [diff] |
DeclarativeNetRequest: Add API to disable/enable individual static rules Add an API that updates the disabled rule ids of a static ruleset: - declarativeNetRequest.updateStaticRules() The API disables and enables individual static rules in a static ruleset. The changes to rules belonging to a disabled static rules will take effect the next time that it becomes enabled. The callback is called once the update is complete. In case of an error, runtime.lastError will be set and no change will be made to the static rules. Bug: 1225229 Change-Id: Ib0814c3ee2bedc5e5dbc86bfc2305f60c80145e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3989814 Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Commit-Queue: Byungwoo Lee <blee@igalia.com> Cr-Commit-Position: refs/heads/main@{#1087709}
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.