Index: chrome/browser/search/search.cc |
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc |
index a3d0a8e3599d7c73579e5218d9f3ba9dad3b2785..e0bd3d894d41229a04d517e2e9f0c6cb6f28ea21 100644 |
--- a/chrome/browser/search/search.cc |
+++ b/chrome/browser/search/search.cc |
@@ -23,6 +23,7 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_instant_controller.h" |
#include "chrome/browser/ui/search/instant_search_prerenderer.h" |
+#include "chrome/common/chrome_features.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/features.h" |
#include "chrome/common/pref_names.h" |
@@ -81,10 +82,6 @@ enum NewTabURLState { |
NEW_TAB_URL_MAX |
}; |
-base::Feature kUseGoogleLocalNtp { |
- "UseGoogleLocalNtp", base::FEATURE_DISABLED_BY_DEFAULT |
-}; |
- |
const TemplateURL* GetDefaultSearchProviderTemplateURL(Profile* profile) { |
if (profile) { |
TemplateURLService* template_url_service = |
@@ -198,7 +195,7 @@ bool ShouldShowLocalNewTab(const GURL& url, Profile* profile) { |
#endif // defined(OS_CHROMEOS) |
if (!profile->IsOffTheRecord() && |
- base::FeatureList::IsEnabled(kUseGoogleLocalNtp) && |
+ base::FeatureList::IsEnabled(features::kUseGoogleLocalNtp) && |
DefaultSearchProviderIsGoogle(profile)) { |
return true; |
} |