commit | fc4b616faa06a3ab437f8daafc7143228f64d6c8 | [log] [tgz] |
---|---|---|
author | Oleg Davydov <burunduk@chromium.org> | Tue Jul 27 10:20:17 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 27 10:20:17 2021 |
tree | 9cfc8a40a952c53718242710d5f9be7d01accda4 | |
parent | 48c1a4029a30b709ddd49559d550cf81f8c6f195 [diff] |
[Extensions] Apply policy host settings when re-enabling the extensions On policy update, host settings (permissions) are updates for enabled extensions only. Therefore it could be possible that policy changes while the extension was disables, so it will have outdated host permissions. This CL fixes this by applying permissions right after extension is enabled back. Also it removes some small code duplication in ExtensionSettings and PermissionUpdater. Bug: 982966 Change-Id: Ief08c4ec6b568ec31209890061592d03f5792b6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3038799 Commit-Queue: Oleg Davydov <burunduk@chromium.org> Reviewed-by: Sergey Poromov <poromov@chromium.org> Reviewed-by: Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#905668}
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.