Disable download shelf when download bubble is enabled.
Since the MVP launch doesn't support deep scanning, keep the new
download bubble disabled for enhanced protection, advanced protection
and WebProtect users. The new UI would be enabled once deep scanning is
supported.
Whether to show the download shelf can change at runtime (e.g. switching
from standard protection to enhanced protection). In this scenario, it's
still possible that both UIs are shown together.
Bug: 1307021
Change-Id: I04e1d3734d1233c08a2ba02cd3271f44251763d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3529377
Reviewed-by: Min Qin <[email protected]>
Reviewed-by: Rohit Bhatia <[email protected]>
Reviewed-by: Allen Bauer <[email protected]>
Reviewed-by: Peter Kasting <[email protected]>
Commit-Queue: Xinghui Lu <[email protected]>
Cr-Commit-Position: refs/heads/main@{#982514}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index fbceb854..1115123 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3699,6 +3699,8 @@
"diagnostics/recon_diagnostics.h",
"diagnostics/sqlite_diagnostics.cc",
"diagnostics/sqlite_diagnostics.h",
+ "download/bubble/download_bubble_prefs.cc",
+ "download/bubble/download_bubble_prefs.h",
"download/default_download_dir_policy_handler.cc",
"download/default_download_dir_policy_handler.h",
"download/download_commands.cc",