Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1269)

Unified Diff: chrome/browser/about_flags.cc

Issue 2944283002: Replace --add-to-shelf flag with kAppBanners feature. (Closed)
Patch Set: Double Doh! Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 3819af32b7a422e8f3fd0fc8c308dd335cf0d4c9..1f3b4bf2ad12aae16746b8deebfdf7b3c669ec3a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1977,10 +1977,11 @@ const FeatureEntry kFeatureEntries[] = {
{"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName,
flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},
- {"enable-add-to-shelf", flag_descriptions::kAddToShelfName,
- flag_descriptions::kAddToShelfDescription, kOsDesktop,
- ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAddToShelf,
- switches::kDisableAddToShelf)},
+#if !defined(OS_ANDROID)
+ {"enable-app-banners", flag_descriptions::kAppBannersName,
+ flag_descriptions::kAppBannersDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(features::kAppBanners)},
+#endif // !OS_ANDROID
{"bypass-app-banner-engagement-checks",
flag_descriptions::kBypassAppBannerEngagementChecksName,
flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll,

Powered by Google App Engine
This is Rietveld 408576698