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

Unified Diff: chrome/common/chrome_features.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/common/chrome_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index 838017dd5f2325aeef693c7d013f06d14346e4e1..4b2a87ff8ca2d17e3a92eac3e9f4c7e8fcca9942 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -29,6 +29,17 @@ const base::Feature kViewsTaskManager{"ViewsTaskManager",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_MACOSX)
+#if !defined(OS_ANDROID)
+const base::Feature kAppBanners {
+ "AppBanners",
+#if defined(OS_CHROMEOS)
+ base::FEATURE_ENABLED_BY_DEFAULT,
+#else
+ base::FEATURE_DISABLED_BY_DEFAULT,
+#endif // defined(OS_CHROMEOS)
+};
+#endif // !defined(OS_ANDROID)
+
#if defined(OS_CHROMEOS)
// Whether to handle low memory kill of ARC apps by Chrome.
const base::Feature kArcMemoryManagement{

Powered by Google App Engine
This is Rietveld 408576698