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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 // that do not set this field. See the comments on | 360 // that do not set this field. See the comments on |
361 // |server_position_in_parent| for more information on how this is handled. | 361 // |server_position_in_parent| for more information on how this is handled. |
362 // | 362 // |
363 // This field will not be set for items whose type ignores positioning. | 363 // This field will not be set for items whose type ignores positioning. |
364 // Clients should not attempt to read this field on the receipt of an item of | 364 // Clients should not attempt to read this field on the receipt of an item of |
365 // a type that ignores positioning. | 365 // a type that ignores positioning. |
366 // | 366 // |
367 // Refer to its definition in unique_position.proto for more information about | 367 // Refer to its definition in unique_position.proto for more information about |
368 // its internal representation. | 368 // its internal representation. |
369 optional UniquePosition unique_position = 25; | 369 optional UniquePosition unique_position = 25; |
| 370 |
| 371 // Attachment ids of attachments associated with this SyncEntity. |
| 372 repeated AttachmentId attachment_id = 26; |
370 }; | 373 }; |
371 | 374 |
372 // This message contains diagnostic information used to correlate | 375 // This message contains diagnostic information used to correlate |
373 // commit-related traffic with extensions-related mutations to the | 376 // commit-related traffic with extensions-related mutations to the |
374 // data models in chromium. It plays no functional role in | 377 // data models in chromium. It plays no functional role in |
375 // processing this CommitMessage. | 378 // processing this CommitMessage. |
376 message ChromiumExtensionsActivity { | 379 message ChromiumExtensionsActivity { |
377 // The human-readable ID identifying the extension responsible | 380 // The human-readable ID identifying the extension responsible |
378 // for the traffic reported in this ChromiumExtensionsActivity. | 381 // for the traffic reported in this ChromiumExtensionsActivity. |
379 optional string extension_id = 1; | 382 optional string extension_id = 1; |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 // Currently only meaningful if |error_type| is throttled. If this field | 927 // Currently only meaningful if |error_type| is throttled. If this field |
925 // is absent then the whole client (all datatypes) is throttled. | 928 // is absent then the whole client (all datatypes) is throttled. |
926 repeated int32 error_data_type_ids = 5; | 929 repeated int32 error_data_type_ids = 5; |
927 } | 930 } |
928 optional Error error = 13; | 931 optional Error error = 13; |
929 | 932 |
930 // The new per-client state for this client. If set, should be persisted and | 933 // The new per-client state for this client. If set, should be persisted and |
931 // sent with any subsequent ClientToServerMessages. | 934 // sent with any subsequent ClientToServerMessages. |
932 optional ChipBag new_bag_of_chips = 14; | 935 optional ChipBag new_bag_of_chips = 14; |
933 }; | 936 }; |
934 | |
OLD | NEW |