| commit | b10af0a0fe20b0f29877977f21547efaafbec691 | [log] [tgz] |
|---|---|---|
| author | Joel Hockey <joelhockey@chromium.org> | Fri Oct 24 21:25:08 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 24 21:25:08 2025 |
| tree | 9ea86cb3615fd9c59d80323ef88af44f29f42f8a | |
| parent | 5654373b6e086a0fabe8e6b79f6d294a5a87a0c1 [diff] |
Enable DisableScreenshots policy for android The policy is used in tabs API for android-desktop. Extensions code such as tabs_api.cc is only included for desktop-android builds. However policy can only be configured to run for all android builds. So the registration of the pref is moved out of extensions code so that relevant tests will work for all android builds. The pref will only be used by the extensions code in desktop builds, but there is little harm to have the pref registered in other builds. Bug: 400804068 Change-Id: I55ac02786750a179a37bd08359880ddac37d4d44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7070547 Auto-Submit: Joel Hockey <joelhockey@chromium.org> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Reviewed-by: Igor <igorcov@chromium.org> Commit-Queue: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/main@{#1535324}
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.