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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
886 // is absent then the whole client (all datatypes) is throttled. | 886 // is absent then the whole client (all datatypes) is throttled. |
887 repeated int32 error_data_type_ids = 5; | 887 repeated int32 error_data_type_ids = 5; |
888 } | 888 } |
889 optional Error error = 13; | 889 optional Error error = 13; |
890 | 890 |
891 // The new per-client state for this client. If set, should be persisted and | 891 // The new per-client state for this client. If set, should be persisted and |
892 // sent with any subsequent ClientToServerMessages. | 892 // sent with any subsequent ClientToServerMessages. |
893 optional ChipBag new_bag_of_chips = 14; | 893 optional ChipBag new_bag_of_chips = 14; |
894 }; | 894 }; |
895 | 895 |
896 // Identifies an attachment. | |
897 // | |
898 // Note, message's definition is in flux and may change. Don't rely on it. | |
899 message SyncAttachmentId { | |
Nicolas Zea
2013/12/30 19:10:31
Should we have this in its own proto file? This fi
maniscalco
2013/12/30 22:17:19
Good call. Done. I moved it to attachments.proto
| |
900 // Uniquely identifies the attachment. Two attachments with the same unique_id | |
901 // are considered equivalent. | |
902 optional string unique_id = 1; | |
903 }; | |
OLD | NEW |