summaryrefslogtreecommitdiffstats
path: root/sync/tools
diff options
context:
space:
mode:
authorrouslan <rouslan@chromium.org>2015-05-22 09:57:10 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-22 16:57:52 +0000
commit39765cfcec81f43376d609c092975c423f019921 (patch)
tree55642fbee3c9527f88ee4a7201a87b32cfc63780 /sync/tools
parent38344c8cd965062411bed6b178f75c41220f6190 (diff)
downloadchromium_src-39765cfcec81f43376d609c092975c423f019921.zip
chromium_src-39765cfcec81f43376d609c092975c423f019921.tar.gz
chromium_src-39765cfcec81f43376d609c092975c423f019921.tar.bz2
[sync] Add AUTOFILL_WALLET_METADATA sync datatype.
BUG=481595 Review URL: https://codereview.chromium.org/1125143006 Cr-Commit-Position: refs/heads/master@{#331130}
Diffstat (limited to 'sync/tools')
-rw-r--r--sync/tools/testserver/chromiumsync.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/sync/tools/testserver/chromiumsync.py b/sync/tools/testserver/chromiumsync.py
index d51f8cf..459f1e1 100644
--- a/sync/tools/testserver/chromiumsync.py
+++ b/sync/tools/testserver/chromiumsync.py
@@ -69,6 +69,7 @@ ALL_TYPES = (
ARTICLE,
AUTOFILL,
AUTOFILL_PROFILE,
+ AUTOFILL_WALLET_METADATA,
BOOKMARK,
DEVICE_INFO,
DICTIONARY,
@@ -92,7 +93,7 @@ ALL_TYPES = (
EXTENSION_SETTINGS,
FAVICON_IMAGES,
FAVICON_TRACKING,
- WIFI_CREDENTIAL) = range(32)
+ WIFI_CREDENTIAL) = range(33)
# An enumeration on the frequency at which the server should send errors
# to the client. This would be specified by the url that triggers the error.
@@ -116,6 +117,7 @@ SYNC_TYPE_TO_DESCRIPTOR = {
ARTICLE: SYNC_TYPE_FIELDS['article'],
AUTOFILL: SYNC_TYPE_FIELDS['autofill'],
AUTOFILL_PROFILE: SYNC_TYPE_FIELDS['autofill_profile'],
+ AUTOFILL_WALLET_METADATA: SYNC_TYPE_FIELDS['wallet_metadata'],
BOOKMARK: SYNC_TYPE_FIELDS['bookmark'],
DEVICE_INFO: SYNC_TYPE_FIELDS['device_info'],
DICTIONARY: SYNC_TYPE_FIELDS['dictionary'],
@@ -511,6 +513,9 @@ class SyncDataModel(object):
parent_tag=ROOT_ID, sync_type=AUTOFILL),
PermanentItem('google_chrome_autofill_profiles', name='Autofill Profiles',
parent_tag=ROOT_ID, sync_type=AUTOFILL_PROFILE),
+ PermanentItem('google_chrome_autofill_wallet_metadata',
+ name='Autofill Wallet Metadata', parent_tag=ROOT_ID,
+ sync_type=AUTOFILL_WALLET_METADATA),
PermanentItem('google_chrome_device_info', name='Device Info',
parent_tag=ROOT_ID, sync_type=DEVICE_INFO),
PermanentItem('google_chrome_experiments', name='Experiments',