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

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: 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 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 "history_delete_directive_specifics.proto"; 36 import "history_delete_directive_specifics.proto";
37 import "nigori_specifics.proto"; 37 import "nigori_specifics.proto";
38 import "managed_user_setting_specifics.proto"; 38 import "managed_user_setting_specifics.proto";
39 import "managed_user_shared_setting_specifics.proto"; 39 import "managed_user_shared_setting_specifics.proto";
40 import "managed_user_specifics.proto"; 40 import "managed_user_specifics.proto";
41 import "managed_user_whitelist_specifics.proto"; 41 import "managed_user_whitelist_specifics.proto";
42 import "password_specifics.proto"; 42 import "password_specifics.proto";
43 import "preference_specifics.proto"; 43 import "preference_specifics.proto";
44 import "printer_specifics.proto"; 44 import "printer_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
140 optional PrinterSpecifics printer = 410745; 141 optional PrinterSpecifics printer = 410745;
142 optional ReadingListSpecifics reading_list = 411028;
141 } 143 }
142 144
143 message SyncEntity { 145 message SyncEntity {
144 // This item's identifier. In a commit of a new item, this will be a 146 // This item's identifier. In a commit of a new item, this will be a
145 // client-generated ID. If the commit succeeds, the server will generate 147 // client-generated ID. If the commit succeeds, the server will generate
146 // a globally unique ID and return it to the committing client in the 148 // a globally unique ID and return it to the committing client in the
147 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, 149 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse,
148 // |id_string| is always the server generated ID. The original 150 // |id_string| is always the server generated ID. The original
149 // client-generated ID is preserved in the |originator_client_id| field. 151 // client-generated ID is preserved in the |originator_client_id| field.
150 // Present in both GetUpdatesResponse and CommitMessage. 152 // Present in both GetUpdatesResponse and CommitMessage.
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 message EventResponse {}; 1031 message EventResponse {};
1030 1032
1031 // A message indicating that the sync engine has been disabled on a client. 1033 // A message indicating that the sync engine has been disabled on a client.
1032 message SyncDisabledEvent { 1034 message SyncDisabledEvent {
1033 // The GUID that identifies the sync client. 1035 // The GUID that identifies the sync client.
1034 optional string cache_guid = 1; 1036 optional string cache_guid = 1;
1035 1037
1036 // The store birthday that the client was using before disabling sync. 1038 // The store birthday that the client was using before disabling sync.
1037 optional string store_birthday = 2; 1039 optional string store_birthday = 2;
1038 }; 1040 };
OLDNEW
« no previous file with comments | « components/sync/protocol/reading_list_specifics.proto ('k') | components/sync/syncable/model_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698