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

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

Issue 2092893002: arc: Create sync protos for Arc package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits addressed. Created 4 years, 6 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 | « sync/syncable/nigori_util.cc ('k') | sync/util/data_type_histogram.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/testserver/chromiumsync.py
diff --git a/sync/tools/testserver/chromiumsync.py b/sync/tools/testserver/chromiumsync.py
index c07f84bd2e606e3d4916606bcf23c7bd7bd41ce8..fbdc44b628eb6ee1d349dc9620589a7e08ecf435 100644
--- a/sync/tools/testserver/chromiumsync.py
+++ b/sync/tools/testserver/chromiumsync.py
@@ -27,6 +27,7 @@ import app_list_specifics_pb2
import app_notification_specifics_pb2
import app_setting_specifics_pb2
import app_specifics_pb2
+import arc_package_specifics_pb2
import article_specifics_pb2
import autofill_specifics_pb2
import bookmark_specifics_pb2
@@ -66,6 +67,7 @@ ALL_TYPES = (
APP_LIST,
APP_NOTIFICATION,
APP_SETTINGS,
+ ARC_PACKAGE,
ARTICLE,
AUTOFILL,
AUTOFILL_PROFILE,
@@ -94,7 +96,7 @@ ALL_TYPES = (
EXTENSION_SETTINGS,
FAVICON_IMAGES,
FAVICON_TRACKING,
- WIFI_CREDENTIAL) = range(34)
+ WIFI_CREDENTIAL) = range(35)
# 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.
@@ -115,6 +117,7 @@ SYNC_TYPE_TO_DESCRIPTOR = {
APP_NOTIFICATION: SYNC_TYPE_FIELDS['app_notification'],
APP_SETTINGS: SYNC_TYPE_FIELDS['app_setting'],
APPS: SYNC_TYPE_FIELDS['app'],
+ ARC_PACKAGE: SYNC_TYPE_FIELDS['arc_package'],
ARTICLE: SYNC_TYPE_FIELDS['article'],
AUTOFILL: SYNC_TYPE_FIELDS['autofill'],
AUTOFILL_PROFILE: SYNC_TYPE_FIELDS['autofill_profile'],
@@ -502,6 +505,8 @@ class SyncDataModel(object):
PermanentItem('google_chrome_app_settings',
name='App Settings',
parent_tag=ROOT_ID, sync_type=APP_SETTINGS),
+ PermanentItem('google_chrome_arc_package', name='Arc Package',
+ parent_tag=ROOT_ID, sync_type=ARC_PACKAGE),
PermanentItem('google_chrome_bookmarks', name='Bookmarks',
parent_tag=ROOT_ID, sync_type=BOOKMARK),
PermanentItem('bookmark_bar', name='Bookmark Bar',
« no previous file with comments | « sync/syncable/nigori_util.cc ('k') | sync/util/data_type_histogram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698