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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 7669052: Added DataTypeController integration and UI surfacing for syncing Search Engines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed notification registration. Created 9 years, 4 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/sync/profile_sync_service.cc
===================================================================
--- chrome/browser/sync/profile_sync_service.cc (revision 98647)
+++ chrome/browser/sync/profile_sync_service.cc (working copy)
@@ -307,6 +307,9 @@
pref_service->RegisterBooleanPref(prefs::kSyncApps,
enable_by_default,
PrefService::UNSYNCABLE_PREF);
+ pref_service->RegisterBooleanPref(prefs::kSyncSearchEngines,
+ enable_by_default,
+ PrefService::UNSYNCABLE_PREF);
pref_service->RegisterBooleanPref(prefs::kSyncSessions,
enable_by_default,
PrefService::UNSYNCABLE_PREF);
@@ -543,6 +546,8 @@
return prefs::kSyncExtensions;
case syncable::APPS:
return prefs::kSyncApps;
+ case syncable::SEARCH_ENGINES:
+ return prefs::kSyncSearchEngines;
case syncable::SESSIONS:
return prefs::kSyncSessions;
default:
« no previous file with comments | « chrome/browser/sync/profile_sync_factory_mock.h ('k') | chrome/browser/sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698