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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 359 // for the traffic reported in this ChromiumExtensionsActivity. | 359 // for the traffic reported in this ChromiumExtensionsActivity. |
| 360 optional string extension_id = 1; | 360 optional string extension_id = 1; |
| 361 | 361 |
| 362 // How many times the extension successfully invoked a write | 362 // How many times the extension successfully invoked a write |
| 363 // operation through the bookmarks API since the last CommitMessage. | 363 // operation through the bookmarks API since the last CommitMessage. |
| 364 optional uint32 bookmark_writes_since_last_commit = 2; | 364 optional uint32 bookmark_writes_since_last_commit = 2; |
| 365 }; | 365 }; |
| 366 | 366 |
| 367 // Client specific configuration information. | 367 // Client specific configuration information. |
| 368 message ClientConfigParams { | 368 message ClientConfigParams { |
| 369 // The set of data types this client has enabled. | 369 // The set of data types this client has enabled (does not include proxy |
| 370 // types). | |
|
tim (not reviewing)
2013/02/09 01:23:59
'does not include proxy types, as these don't have
Nicolas Zea
2013/02/12 23:44:49
Done.
| |
| 370 repeated int32 enabled_type_ids = 1; | 371 repeated int32 enabled_type_ids = 1; |
| 372 | |
| 373 // Whether the TABS proxy datatype is enabled on this client. | |
| 374 optional bool tabs_datatype_enabled = 2; | |
|
Raz Mathias
2013/02/09 01:33:48
Please add a definition of "proxy type" to the pro
Nicolas Zea
2013/02/12 23:44:49
Added to the comment above.
| |
| 371 }; | 375 }; |
| 372 | 376 |
| 373 message CommitMessage { | 377 message CommitMessage { |
| 374 repeated SyncEntity entries = 1; | 378 repeated SyncEntity entries = 1; |
| 375 | 379 |
| 376 // A GUID that identifies the committing sync client. This value will be | 380 // A GUID that identifies the committing sync client. This value will be |
| 377 // returned as originator_cache_guid for any new items. | 381 // returned as originator_cache_guid for any new items. |
| 378 optional string cache_guid = 2; | 382 optional string cache_guid = 2; |
| 379 | 383 |
| 380 repeated ChromiumExtensionsActivity extensions_activity = 3; | 384 repeated ChromiumExtensionsActivity extensions_activity = 3; |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 756 // is absent then the whole client (all datatypes) is throttled. | 760 // is absent then the whole client (all datatypes) is throttled. |
| 757 repeated int32 error_data_type_ids = 5; | 761 repeated int32 error_data_type_ids = 5; |
| 758 } | 762 } |
| 759 optional Error error = 13; | 763 optional Error error = 13; |
| 760 | 764 |
| 761 // The new per-client state for this client. If set, should be persisted and | 765 // The new per-client state for this client. If set, should be persisted and |
| 762 // sent with any subsequent ClientToServerMessages. | 766 // sent with any subsequent ClientToServerMessages. |
| 763 optional ChipBag new_bag_of_chips = 14; | 767 optional ChipBag new_bag_of_chips = 14; |
| 764 }; | 768 }; |
| 765 | 769 |
| OLD | NEW |