Index: net/tools/testserver/chromiumsync.py |
diff --git a/net/tools/testserver/chromiumsync.py b/net/tools/testserver/chromiumsync.py |
index 789b8218b5a303c4f1f7a0b0c6caafed1251af34..28284796cea9cd92553d7bbffd0899fe74a7b1d6 100644 |
--- a/net/tools/testserver/chromiumsync.py |
+++ b/net/tools/testserver/chromiumsync.py |
@@ -24,6 +24,7 @@ import app_setting_specifics_pb2 |
import app_specifics_pb2 |
import autofill_specifics_pb2 |
import bookmark_specifics_pb2 |
+import dictionary_specifics_pb2 |
import get_updates_caller_info_pb2 |
import extension_setting_specifics_pb2 |
import extension_specifics_pb2 |
@@ -51,6 +52,7 @@ ALL_TYPES = ( |
AUTOFILL_PROFILE, |
BOOKMARK, |
DEVICE_INFO, |
+ DICTIONARY, |
EXPERIMENTS, |
EXTENSIONS, |
HISTORY_DELETE_DIRECTIVE, |
@@ -61,7 +63,7 @@ ALL_TYPES = ( |
SESSION, |
THEME, |
TYPED_URL, |
- EXTENSION_SETTINGS) = range(19) |
+ EXTENSION_SETTINGS) = range(20) |
# An eumeration on the frequency at which the server should send errors |
# to the client. This would be specified by the url that triggers the error. |
@@ -85,6 +87,7 @@ SYNC_TYPE_TO_DESCRIPTOR = { |
AUTOFILL_PROFILE: SYNC_TYPE_FIELDS['autofill_profile'], |
BOOKMARK: SYNC_TYPE_FIELDS['bookmark'], |
DEVICE_INFO: SYNC_TYPE_FIELDS['device_info'], |
+ DICTIONARY: SYNC_TYPE_FIELDS['dictionary'], |
EXPERIMENTS: SYNC_TYPE_FIELDS['experiments'], |
EXTENSION_SETTINGS: SYNC_TYPE_FIELDS['extension_setting'], |
EXTENSIONS: SYNC_TYPE_FIELDS['extension'], |
@@ -477,6 +480,8 @@ class SyncDataModel(object): |
parent_tag=ROOT_ID, sync_type=THEME), |
PermanentItem('google_chrome_typed_urls', name='Typed URLs', |
parent_tag=ROOT_ID, sync_type=TYPED_URL), |
+ PermanentItem('google_chrome_dictionary', name='Dictionary', |
+ parent_tag=ROOT_ID, sync_type=DICTIONARY), |
] |
def __init__(self): |