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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.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/ui/webui/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index fe275f9895d07f0a983a12b7936bef60ebf59660..7a947cb26d89c63118a7b4acc4fe3697a32d6e36 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -74,6 +74,7 @@ const char* kDataTypeNames[] = {
"apps",
"autofill",
"bookmarks",
+ "dictionary",
"extensions",
"passwords",
"preferences",
@@ -86,6 +87,7 @@ const syncer::ModelType kDataTypes[] = {
syncer::APPS,
syncer::AUTOFILL,
syncer::BOOKMARKS,
+ syncer::DICTIONARY,
syncer::EXTENSIONS,
syncer::PASSWORDS,
syncer::PREFERENCES,
@@ -337,6 +339,7 @@ void SyncSetupHandler::GetStaticLocalizedValues(
{ "typedURLs", IDS_SYNC_DATATYPE_TYPED_URLS },
{ "apps", IDS_SYNC_DATATYPE_APPS },
{ "openTabs", IDS_SYNC_DATATYPE_TABS },
+ { "dictionary", IDS_SYNC_DATATYPE_DICTIONARY },
{ "syncZeroDataTypesError", IDS_SYNC_ZERO_DATA_TYPES_ERROR },
{ "serviceUnavailableError", IDS_SYNC_SETUP_ABORTED_BY_PENDING_CLEAR },
{ "googleOption", IDS_SYNC_PASSPHRASE_OPT_GOOGLE },

Powered by Google App Engine
This is Rietveld 408576698