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

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

Issue 8334030: Merge search engines sync data type with Preferences. Sync the default search provider. Add some ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Merge to TOT and fixed additional conflicts from rsimha. Created 9 years, 1 month 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
===================================================================
--- chrome/browser/search_engines/template_url_service_factory.cc (revision 109292)
+++ chrome/browser/search_engines/template_url_service_factory.cc (working copy)
@@ -35,6 +35,9 @@
}
void TemplateURLServiceFactory::RegisterUserPrefs(PrefService* prefs) {
+ prefs->RegisterStringPref(prefs::kSyncedDefaultSearchProviderGUID,
+ std::string(),
+ PrefService::SYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kDefaultSearchProviderEnabled,
true,
PrefService::UNSYNCABLE_PREF);

Powered by Google App Engine
This is Rietveld 408576698