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

Side by Side Diff: components/sync/protocol/sync.proto

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove period Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Sync protocol for communication between sync client and server. 5 // Sync protocol for communication between sync client and server.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
(...skipping 25 matching lines...) Expand all
36 import "get_updates_caller_info.proto"; 36 import "get_updates_caller_info.proto";
37 import "history_delete_directive_specifics.proto"; 37 import "history_delete_directive_specifics.proto";
38 import "nigori_specifics.proto"; 38 import "nigori_specifics.proto";
39 import "managed_user_setting_specifics.proto"; 39 import "managed_user_setting_specifics.proto";
40 import "managed_user_shared_setting_specifics.proto"; 40 import "managed_user_shared_setting_specifics.proto";
41 import "managed_user_specifics.proto"; 41 import "managed_user_specifics.proto";
42 import "managed_user_whitelist_specifics.proto"; 42 import "managed_user_whitelist_specifics.proto";
43 import "password_specifics.proto"; 43 import "password_specifics.proto";
44 import "preference_specifics.proto"; 44 import "preference_specifics.proto";
45 import "priority_preference_specifics.proto"; 45 import "priority_preference_specifics.proto";
46 import "reading_list_specifics.proto";
46 import "search_engine_specifics.proto"; 47 import "search_engine_specifics.proto";
47 import "session_specifics.proto"; 48 import "session_specifics.proto";
48 import "sync_enums.proto"; 49 import "sync_enums.proto";
49 import "synced_notification_app_info_specifics.proto"; 50 import "synced_notification_app_info_specifics.proto";
50 import "synced_notification_specifics.proto"; 51 import "synced_notification_specifics.proto";
51 import "theme_specifics.proto"; 52 import "theme_specifics.proto";
52 import "typed_url_specifics.proto"; 53 import "typed_url_specifics.proto";
53 import "unique_position.proto"; 54 import "unique_position.proto";
54 import "wifi_credential_specifics.proto"; 55 import "wifi_credential_specifics.proto";
55 56
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 optional ManagedUserSpecifics managed_user = 194582; 131 optional ManagedUserSpecifics managed_user = 194582;
131 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting = 132 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting =
132 202026; 133 202026;
133 optional ManagedUserWhitelistSpecifics managed_user_whitelist = 306060; 134 optional ManagedUserWhitelistSpecifics managed_user_whitelist = 306060;
134 optional ArticleSpecifics article = 223759; 135 optional ArticleSpecifics article = 223759;
135 optional AppListSpecifics app_list = 229170; 136 optional AppListSpecifics app_list = 229170;
136 optional WifiCredentialSpecifics wifi_credential = 218175; 137 optional WifiCredentialSpecifics wifi_credential = 218175;
137 optional AutofillWalletSpecifics autofill_wallet = 306270; 138 optional AutofillWalletSpecifics autofill_wallet = 306270;
138 optional WalletMetadataSpecifics wallet_metadata = 330441; 139 optional WalletMetadataSpecifics wallet_metadata = 330441;
139 optional ArcPackageSpecifics arc_package = 340906; 140 optional ArcPackageSpecifics arc_package = 340906;
141 optional ReadingListSpecifics reading_list = 411028;
140 } 142 }
141 143
142 message SyncEntity { 144 message SyncEntity {
143 // This item's identifier. In a commit of a new item, this will be a 145 // This item's identifier. In a commit of a new item, this will be a
144 // client-generated ID. If the commit succeeds, the server will generate 146 // client-generated ID. If the commit succeeds, the server will generate
145 // a globally unique ID and return it to the committing client in the 147 // a globally unique ID and return it to the committing client in the
146 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, 148 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse,
147 // |id_string| is always the server generated ID. The original 149 // |id_string| is always the server generated ID. The original
148 // client-generated ID is preserved in the |originator_client_id| field. 150 // client-generated ID is preserved in the |originator_client_id| field.
149 // Present in both GetUpdatesResponse and CommitMessage. 151 // Present in both GetUpdatesResponse and CommitMessage.
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 message EventResponse {}; 1030 message EventResponse {};
1029 1031
1030 // A message indicating that the sync engine has been disabled on a client. 1032 // A message indicating that the sync engine has been disabled on a client.
1031 message SyncDisabledEvent { 1033 message SyncDisabledEvent {
1032 // The GUID that identifies the sync client. 1034 // The GUID that identifies the sync client.
1033 optional string cache_guid = 1; 1035 optional string cache_guid = 1;
1034 1036
1035 // The store birthday that the client was using before disabling sync. 1037 // The store birthday that the client was using before disabling sync.
1036 optional string store_birthday = 2; 1038 optional string store_birthday = 2;
1037 }; 1039 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698