Replace --add-to-shelf flag with kAppBanners feature.
The add to shelf flag was poorly named and doesn't use the new feature
goodness.
With this change, functionality dependent on the kBookmarkApps flag is
also enabled if the kAppBanners flag is enabled.
BUG=734897
Review-Url: https://codereview.chromium.org/2944283002
Cr-Commit-Position: refs/heads/master@{#482889}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 13ea874..736a021 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1989,10 +1989,11 @@
{"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,