commit | ba37e3c70cee97aaee21ce9810006f8e86e5a40c | [log] [tgz] |
---|---|---|
author | Aida Zolic <aidazolic@chromium.org> | Tue May 30 13:46:37 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 30 13:46:37 2023 |
tree | 23fcd8b8c0ca32e8d0346f53c94f9b7be16e82a3 | |
parent | dfa0a850a566a7518a76a886cab1beb121c83c11 [diff] |
dlp: Split block and warn files dialogs Splits FilesPolicyDialog into two subclasses for warning and block restriction levels, i.e. warning or error dialogs. The warning dialog can only be shown for a single policy at a time, while the error dialog can combine blocked files from both DLP and Enterprise Connectors. Currently only the constructors and some methods are extracted to the child classes, but in the future more of the setup will be moved from the base, which will only handle setting up the views etc, as the text used in the dialog should depend on its type. R=ayaelattar@chromium.org Fixed: b:284287312 Change-Id: If2df288f0fed7b10b227afe77ec3dc58ba684eef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4570510 Reviewed-by: Aya Elsayed <ayaelattar@chromium.org> Commit-Queue: Aya Elsayed <ayaelattar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150522}
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.