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

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

Issue 11445002: Sync user's custom spellcheck dictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add browser tests for dictionary change notifications in settings Created 8 years 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 ef237c28656965dde1d0ef5710896f1f9473ba03..1d1c2e191f4cc9ce0cb93463fbb1cb124715c68c 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -1285,6 +1285,7 @@ void ProfileSyncService::UpdateSelectedTypesHistogram(
syncer::APPS,
syncer::AUTOFILL,
syncer::BOOKMARKS,
+ syncer::DICTIONARY,
Nicolas Zea 2013/01/02 23:12:15 Do we want Dictionary to be a separately selectabl
please use gerrit instead 2013/01/04 23:30:50 I do not recall this discussion, but it's a good i
groby-ooo-7-16 2013/01/07 19:02:14 Can't speak to the pros/cons, but I'd like to poin
Nicolas Zea 2013/01/07 19:07:41 The user selectable option is actually called "Set
syncer::EXTENSIONS,
syncer::PASSWORDS,
syncer::PREFERENCES,
@@ -1298,6 +1299,7 @@ void ProfileSyncService::UpdateSelectedTypesHistogram(
browser_sync::user_selectable_type::APPS,
browser_sync::user_selectable_type::AUTOFILL,
browser_sync::user_selectable_type::BOOKMARKS,
+ browser_sync::user_selectable_type::DICTIONARY,
browser_sync::user_selectable_type::EXTENSIONS,
browser_sync::user_selectable_type::PASSWORDS,
browser_sync::user_selectable_type::PREFERENCES,
@@ -1306,7 +1308,7 @@ void ProfileSyncService::UpdateSelectedTypesHistogram(
browser_sync::user_selectable_type::TYPED_URLS
};
- COMPILE_ASSERT(20 == syncer::MODEL_TYPE_COUNT, UpdateCustomConfigHistogram);
+ COMPILE_ASSERT(21 == syncer::MODEL_TYPE_COUNT, UpdateCustomConfigHistogram);
COMPILE_ASSERT(arraysize(model_types) ==
browser_sync::user_selectable_type::SELECTABLE_DATATYPE_COUNT,
UpdateCustomConfigHistogram);

Powered by Google App Engine
This is Rietveld 408576698