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

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

Issue 2306763002: Add PrinterSpecifics to the sync protos. (Closed)
Patch Set: PrintersSpecifics -> PrinterSpecifics 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
« no previous file with comments | « components/sync/protocol/protocol_sources.gni ('k') | components/sync/syncable/model_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 23 matching lines...) Expand all
34 import "favicon_tracking_specifics.proto"; 34 import "favicon_tracking_specifics.proto";
35 import "get_updates_caller_info.proto"; 35 import "get_updates_caller_info.proto";
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 "priority_preference_specifics.proto"; 45 import "priority_preference_specifics.proto";
45 import "search_engine_specifics.proto"; 46 import "search_engine_specifics.proto";
46 import "session_specifics.proto"; 47 import "session_specifics.proto";
47 import "sync_enums.proto"; 48 import "sync_enums.proto";
48 import "synced_notification_app_info_specifics.proto"; 49 import "synced_notification_app_info_specifics.proto";
49 import "synced_notification_specifics.proto"; 50 import "synced_notification_specifics.proto";
50 import "theme_specifics.proto"; 51 import "theme_specifics.proto";
51 import "typed_url_specifics.proto"; 52 import "typed_url_specifics.proto";
52 import "unique_position.proto"; 53 import "unique_position.proto";
53 import "wifi_credential_specifics.proto"; 54 import "wifi_credential_specifics.proto";
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 optional ManagedUserSpecifics managed_user = 194582; 130 optional ManagedUserSpecifics managed_user = 194582;
130 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting = 131 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting =
131 202026; 132 202026;
132 optional ManagedUserWhitelistSpecifics managed_user_whitelist = 306060; 133 optional ManagedUserWhitelistSpecifics managed_user_whitelist = 306060;
133 optional ArticleSpecifics article = 223759; 134 optional ArticleSpecifics article = 223759;
134 optional AppListSpecifics app_list = 229170; 135 optional AppListSpecifics app_list = 229170;
135 optional WifiCredentialSpecifics wifi_credential = 218175; 136 optional WifiCredentialSpecifics wifi_credential = 218175;
136 optional AutofillWalletSpecifics autofill_wallet = 306270; 137 optional AutofillWalletSpecifics autofill_wallet = 306270;
137 optional WalletMetadataSpecifics wallet_metadata = 330441; 138 optional WalletMetadataSpecifics wallet_metadata = 330441;
138 optional ArcPackageSpecifics arc_package = 340906; 139 optional ArcPackageSpecifics arc_package = 340906;
140 optional PrinterSpecifics printer = 410745;
139 } 141 }
140 142
141 message SyncEntity { 143 message SyncEntity {
142 // This item's identifier. In a commit of a new item, this will be a 144 // This item's identifier. In a commit of a new item, this will be a
143 // client-generated ID. If the commit succeeds, the server will generate 145 // client-generated ID. If the commit succeeds, the server will generate
144 // a globally unique ID and return it to the committing client in the 146 // a globally unique ID and return it to the committing client in the
145 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, 147 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse,
146 // |id_string| is always the server generated ID. The original 148 // |id_string| is always the server generated ID. The original
147 // client-generated ID is preserved in the |originator_client_id| field. 149 // client-generated ID is preserved in the |originator_client_id| field.
148 // Present in both GetUpdatesResponse and CommitMessage. 150 // Present in both GetUpdatesResponse and CommitMessage.
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 message EventResponse {}; 1029 message EventResponse {};
1028 1030
1029 // A message indicating that the sync engine has been disabled on a client. 1031 // A message indicating that the sync engine has been disabled on a client.
1030 message SyncDisabledEvent { 1032 message SyncDisabledEvent {
1031 // The GUID that identifies the sync client. 1033 // The GUID that identifies the sync client.
1032 optional string cache_guid = 1; 1034 optional string cache_guid = 1;
1033 1035
1034 // The store birthday that the client was using before disabling sync. 1036 // The store birthday that the client was using before disabling sync.
1035 optional string store_birthday = 2; 1037 optional string store_birthday = 2;
1036 }; 1038 };
OLDNEW
« no previous file with comments | « components/sync/protocol/protocol_sources.gni ('k') | components/sync/syncable/model_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698