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

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

Issue 229763005: Store default search provider data in dictionary pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make DSE Manager use TemplateURLData Created 6 years, 8 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 43124af57863da7bd0f450d593d03860a08ad5ce..fde2fa1bb003779ff23d167c5c8aba30b7b0426a 100644
--- a/chrome/browser/search_engines/template_url_service_factory.cc
+++ b/chrome/browser/search_engines/template_url_service_factory.cc
@@ -124,6 +124,9 @@ void TemplateURLServiceFactory::RegisterProfilePrefs(
prefs::kDefaultSearchProviderSearchTermsReplacementKey,
std::string(),
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterDictionaryPref(
+ prefs::kDefaultSearchProviderData,
erikwright (departed) 2014/04/23 14:18:01 DefaultSearchManager::RegisterProfilePrefs(registr
Cait (Slow) 2014/04/23 19:10:05 Done.
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
content::BrowserContext* TemplateURLServiceFactory::GetBrowserContextToUse(

Powered by Google App Engine
This is Rietveld 408576698