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

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

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Sync to tip. Latest comments. Created 9 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/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 334b08cdd729ba50418fd8ad53b9f409d36635cb..d6534a9c0276b879f8dbb1a53cb2926e2f3a9ef8 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -312,6 +312,9 @@ void ProfileSyncService::RegisterPreferences() {
pref_service->RegisterBooleanPref(prefs::kSyncTypedUrls,
enable_by_default,
PrefService::UNSYNCABLE_PREF);
+ pref_service->RegisterBooleanPref(prefs::kSyncExtensionSettings,
+ enable_by_default,
+ PrefService::UNSYNCABLE_PREF);
pref_service->RegisterBooleanPref(prefs::kSyncExtensions,
enable_by_default,
PrefService::UNSYNCABLE_PREF);
@@ -563,6 +566,8 @@ const char* ProfileSyncService::GetPrefNameForDataType(
return prefs::kSyncThemes;
case syncable::TYPED_URLS:
return prefs::kSyncTypedUrls;
+ case syncable::EXTENSION_SETTINGS:
+ return prefs::kSyncExtensionSettings;
case syncable::EXTENSIONS:
return prefs::kSyncExtensions;
case syncable::APPS:

Powered by Google App Engine
This is Rietveld 408576698