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

Unified Diff: chrome/common/chrome_features.cc

Issue 2877483002: Add about:flags entries for UseGoogleLocalNtp and OneGoogleBarOnLocalNtp (Closed)
Patch Set: less ifdef Created 3 years, 7 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
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index f2379849a6bde8f635c7977c87c016de6e48ff06..3e1baaafadfea1413fdab68746d012162c859068 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -249,6 +249,12 @@ const base::Feature kNativeNotifications{"NativeNotifications",
const base::Feature kOfflinePageDownloadSuggestionsFeature{
"NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT};
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+// Enables or disabled the OneGoogleBar on the local NTP.
+const base::Feature kOneGoogleBarOnLocalNtp{"OneGoogleBarOnLocalNtp",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+#endif
+
// Enables Permissions Blacklisting via Safe Browsing.
const base::Feature kPermissionsBlacklist{
"PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT};
@@ -323,6 +329,10 @@ const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree",
base::FEATURE_ENABLED_BY_DEFAULT};
#endif
+// Enables using the local NTP if Google is the default search engine.
+const base::Feature kUseGoogleLocalNtp{"UseGoogleLocalNtp",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Experiment to use grouped permission infobars which could show and handle
// multiple permission requests.
const base::Feature kUseGroupedPermissionInfobars{
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698