summaryrefslogtreecommitdiffstats
path: root/sync/util
diff options
context:
space:
mode:
authorrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 00:37:09 +0000
committerrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 00:37:09 +0000
commitbd5bf9243fa692f4372e094fb89c6183a7390592 (patch)
tree683fb0f39314b3a41885cefd0c27066875e6b26a /sync/util
parentfdc89089cb4909236140019ad190458821ca4f85 (diff)
downloadchromium_src-bd5bf9243fa692f4372e094fb89c6183a7390592.zip
chromium_src-bd5bf9243fa692f4372e094fb89c6183a7390592.tar.gz
chromium_src-bd5bf9243fa692f4372e094fb89c6183a7390592.tar.bz2
Sync user's custom spellcheck dictionary
This CL is initial work for for syncing user dictionary across multiple computers. The sync is hidden behind --enable-sync-dictionary flag for now. Do not flip this flag unless your are connected to a sync server that supports dictionary sync. If you don't know whether your sync server supports dictionary sync, then most likely it does not. BUG=51636 Review URL: https://chromiumcodereview.appspot.com/11445002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/util')
-rw-r--r--sync/util/data_type_histogram.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync/util/data_type_histogram.h b/sync/util/data_type_histogram.h
index 7b69cf8..e72cebb 100644
--- a/sync/util/data_type_histogram.h
+++ b/sync/util/data_type_histogram.h
@@ -96,6 +96,9 @@
case ::syncer::PRIORITY_PREFERENCES :\
PER_DATA_TYPE_MACRO("PriorityPreferences"); \
break; \
+ case ::syncer::DICTIONARY: \
+ PER_DATA_TYPE_MACRO("Dictionary"); \
+ break; \
default: \
NOTREACHED() << "Unknown datatype " \
<< ::syncer::ModelTypeToString(datatype); \