| commit | b3d5976e02fd58415d42ff2d8a37b3d24c0c114c | [log] [tgz] |
|---|---|---|
| author | Fabian Sommer <fabiansommer@chromium.org> | Fri Nov 08 11:53:01 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 08 11:53:01 2024 |
| tree | e54c5e5080bccb081bf00f68b6c840272a1b31a6 | |
| parent | 112af4b10ad15785b587178da0851393cc19ca7a [diff] |
Implement NativeClientDeviceForceAllowed policy The old NativeClientForceAllowed policy does not work for ChromeOS - we need the policy value early during startup, and user policies are not loaded for some scenarios (login screen, managed guest session). Instead, implement a new device policy that takes the place of the old user policy, while deprecating the old policy. Since the value needs to be present very early in startup, generally before device policies are loaded, add a second pref that is used to cache the last known value of the policy. During startup, use this cached value to potentially re-enable NaCl. This means that Chrome needs to be restarted once for the policy to be applied correctly. Fixed: 374790919 Change-Id: I6cb3d904d1627d18233c7f3e73374ad7c84fbaf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5988133 Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Maksim Ivanov <emaxx@chromium.org> Commit-Queue: Fabian Sommer <fabiansommer@chromium.org> Cr-Commit-Position: refs/heads/main@{#1380287}
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.