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

Unified Diff: components/sync/tools/testserver/chromiumsync.py

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 months 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
« no previous file with comments | « components/sync/syncable/nigori_util.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/tools/testserver/chromiumsync.py
diff --git a/components/sync/tools/testserver/chromiumsync.py b/components/sync/tools/testserver/chromiumsync.py
index 4fc0ffcc215195151b496cf711392c01a5484ac0..cfcf54b68fb78d30ff2041b12f48dbb5ba292583 100644
--- a/components/sync/tools/testserver/chromiumsync.py
+++ b/components/sync/tools/testserver/chromiumsync.py
@@ -89,6 +89,7 @@ ALL_TYPES = (
PREFERENCE,
PRINTERS,
PRIORITY_PREFERENCE,
+ READING_LIST,
SEARCH_ENGINE,
SESSION,
SYNCED_NOTIFICATION,
@@ -98,7 +99,7 @@ ALL_TYPES = (
EXTENSION_SETTINGS,
FAVICON_IMAGES,
FAVICON_TRACKING,
- WIFI_CREDENTIAL) = range(36)
+ WIFI_CREDENTIAL) = range(37)
# 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.
@@ -144,6 +145,7 @@ SYNC_TYPE_TO_DESCRIPTOR = {
PREFERENCE: SYNC_TYPE_FIELDS['preference'],
PRINTERS: SYNC_TYPE_FIELDS['printer'],
PRIORITY_PREFERENCE: SYNC_TYPE_FIELDS['priority_preference'],
+ READING_LIST: SYNC_TYPE_FIELDS['reading_list'],
SEARCH_ENGINE: SYNC_TYPE_FIELDS['search_engine'],
SESSION: SYNC_TYPE_FIELDS['session'],
SYNCED_NOTIFICATION: SYNC_TYPE_FIELDS["synced_notification"],
@@ -574,6 +576,8 @@ class SyncDataModel(object):
PermanentItem('google_chrome_priority_preferences',
name='Priority Preferences',
parent_tag=ROOT_ID, sync_type=PRIORITY_PREFERENCE),
+ PermanentItem('google_chrome_reading_list', name='Reading List',
+ parent_tag=ROOT_ID, sync_type=READING_LIST),
PermanentItem('google_chrome_synced_notifications',
name='Synced Notifications',
parent_tag=ROOT_ID, sync_type=SYNCED_NOTIFICATION),
« no previous file with comments | « components/sync/syncable/nigori_util.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698