Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 optional FaviconImageSpecifics favicon_image = 182019; | 126 optional FaviconImageSpecifics favicon_image = 182019; |
| 127 optional ManagedUserSettingSpecifics managed_user_setting = 186662; | 127 optional ManagedUserSettingSpecifics managed_user_setting = 186662; |
| 128 optional ManagedUserSpecifics managed_user = 194582; | 128 optional ManagedUserSpecifics managed_user = 194582; |
| 129 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting = | 129 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting = |
| 130 202026; | 130 202026; |
| 131 optional ManagedUserWhitelistSpecifics managed_user_whitelist = 306060; | 131 optional ManagedUserWhitelistSpecifics managed_user_whitelist = 306060; |
| 132 optional ArticleSpecifics article = 223759; | 132 optional ArticleSpecifics article = 223759; |
| 133 optional AppListSpecifics app_list = 229170; | 133 optional AppListSpecifics app_list = 229170; |
| 134 optional WifiCredentialSpecifics wifi_credential = 218175; | 134 optional WifiCredentialSpecifics wifi_credential = 218175; |
| 135 optional AutofillWalletSpecifics autofill_wallet = 306270; | 135 optional AutofillWalletSpecifics autofill_wallet = 306270; |
| 136 optional WalletMetadataSpecifics wallet_metadata = 108302; | |
|
Nicolas Zea
2015/05/20 21:41:45
nit: not strictly required, but it would be good t
please use gerrit instead
2015/05/20 23:37:39
Used a Cr-Commit-Position, since chromium revision
| |
| 136 } | 137 } |
| 137 | 138 |
| 138 message SyncEntity { | 139 message SyncEntity { |
| 139 // This item's identifier. In a commit of a new item, this will be a | 140 // This item's identifier. In a commit of a new item, this will be a |
| 140 // client-generated ID. If the commit succeeds, the server will generate | 141 // client-generated ID. If the commit succeeds, the server will generate |
| 141 // a globally unique ID and return it to the committing client in the | 142 // a globally unique ID and return it to the committing client in the |
| 142 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, | 143 // CommitResponse.EntryResponse. In the context of a GetUpdatesResponse, |
| 143 // |id_string| is always the server generated ID. The original | 144 // |id_string| is always the server generated ID. The original |
| 144 // client-generated ID is preserved in the |originator_client_id| field. | 145 // client-generated ID is preserved in the |originator_client_id| field. |
| 145 // Present in both GetUpdatesResponse and CommitMessage. | 146 // Present in both GetUpdatesResponse and CommitMessage. |
| (...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 990 }; | 991 }; |
| 991 | 992 |
| 992 // A message indicating that the sync engine has been disabled on a client. | 993 // A message indicating that the sync engine has been disabled on a client. |
| 993 message SyncDisabledEvent { | 994 message SyncDisabledEvent { |
| 994 // The GUID that identifies the sync client. | 995 // The GUID that identifies the sync client. |
| 995 optional string cache_guid = 1; | 996 optional string cache_guid = 1; |
| 996 | 997 |
| 997 // The store birthday that the client was using before disabling sync. | 998 // The store birthday that the client was using before disabling sync. |
| 998 optional string store_birthday = 2; | 999 optional string store_birthday = 2; |
| 999 }; | 1000 }; |
| OLD | NEW |