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

Unified Diff: chrome/browser/search/local_ntp_source.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/browser/flag_descriptions.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/local_ntp_source.cc
diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
index 182a4169792113f7f2c491234e1c466547713f5a..6fab4ea433a99fc741dfb186885361169e00d9b6 100644
--- a/chrome/browser/search/local_ntp_source.cc
+++ b/chrome/browser/search/local_ntp_source.cc
@@ -27,6 +27,7 @@
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
+#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
#include "chrome/grit/browser_resources.h"
@@ -48,9 +49,6 @@
namespace {
-base::Feature kOneGoogleBarOnLocalNtpFeature{"OneGoogleBarOnLocalNtp",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
// Signifies a locally constructed resource, i.e. not from grit/.
const int kLocalResource = -1;
@@ -240,7 +238,7 @@ LocalNtpSource::LocalNtpSource(Profile* profile)
weak_ptr_factory_(this) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- if (base::FeatureList::IsEnabled(kOneGoogleBarOnLocalNtpFeature)) {
+ if (base::FeatureList::IsEnabled(features::kOneGoogleBarOnLocalNtp)) {
one_google_bar_service_ =
OneGoogleBarServiceFactory::GetForProfile(profile_);
}
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698