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

Unified Diff: chrome/browser/search_engines/template_url_service_factory.cc

Issue 10908226: Introduces a search term extraction mechanism working for arbitrary search providers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Answered code review comments. Created 8 years, 3 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/browser/search_engines/template_url_service_factory.cc
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc
index 6d8b0cb1889e3756bf610672d714d2bd2ea4dd38..166fb2825c65ca80e8ef6f48d7b035d950931cf1 100644
--- a/chrome/browser/search_engines/template_url_service_factory.cc
+++ b/chrome/browser/search_engines/template_url_service_factory.cc
@@ -78,6 +78,9 @@ void TemplateURLServiceFactory::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterStringPref(prefs::kDefaultSearchProviderEncodings,
std::string(),
PrefService::UNSYNCABLE_PREF);
+ prefs->RegisterStringPref(prefs::kDefaultSearchProviderAlternateURLs,
+ std::string(),
Joao da Silva 2012/09/24 09:12:29 Seems like this should be a list pref? (same for t
beaudoin 2012/09/27 17:37:13 Done.
+ PrefService::UNSYNCABLE_PREF);
}
bool TemplateURLServiceFactory::ServiceRedirectedInIncognito() const {

Powered by Google App Engine
This is Rietveld 408576698