commit | df9b6cf7f42300820297e6b77ac1d3ca5017b684 | [log] [tgz] |
---|---|---|
author | Martin Bidlingmaier <mbid@google.com> | Mon May 15 16:29:36 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 15 16:29:36 2023 |
tree | b6842f13d689c87c55345fac7feb666854d8acf6 | |
parent | 7a9f3890f3c05a3cdad09a6e20ea34f6f48a152f [diff] |
CrOS recovery: Do not set recovery pref, respect policy The pref value is only there to reflect the policy value, and thus must not be set explicitly. In addition to removing the code that sets the preference value, this commit also adds a check that recovery cannot be enabled/disabled if the policy does not permit this. This check in the browser process is in addition to the check in the settings WebUI. However, the latter can likely be bypassed via devtools, hence the check also here. Bug: b:239433156 Change-Id: Ie30457d26cedeb20fdbb858d07f36db4213e9a0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4526955 Reviewed-by: Anastasiia N <anastasiian@chromium.org> Commit-Queue: Martin Bidlingmaier <mbid@google.com> Cr-Commit-Position: refs/heads/main@{#1144158}
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.