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

Unified Diff: chrome/browser/about_flags.cc

Issue 2944283002: Replace --add-to-shelf flag with kAppBanners feature. (Closed)
Patch Set: Self nit 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 771ba1d93cb6b8db7db5af4bbedfb5d910904f12..b735501a11cbf247e182e9bbcd2e84406ad232c2 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1985,10 +1985,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)
Matt Giuca 2017/06/22 01:40:38 Why !defined(OS_ANDROID)? You already have kOsDes
benwells 2017/06/22 05:57:48 As discussed it's needed as the feature doesn't ex
+ {"enable-app-banners", flag_descriptions::kAppBannersName,
+ flag_descriptions::kAppBannersDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(features::kAppBanners)},
+#endif
{"bypass-app-banner-engagement-checks",
flag_descriptions::kBypassAppBannerEngagementChecksName,
flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll,
« no previous file with comments | « no previous file | chrome/browser/banners/app_banner_manager_browsertest.cc » ('j') | chrome/browser/flag_descriptions.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698