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"; |
11 | 11 |
12 option optimize_for = LITE_RUNTIME; | |
13 option retain_unknown_fields = true; | |
14 | |
15 package sync_pb; | 12 package sync_pb; |
16 | 13 |
17 import "app_notification_specifics.proto"; | 14 import "app_notification_specifics.proto"; |
18 import "app_setting_specifics.proto"; | 15 import "app_setting_specifics.proto"; |
19 import "app_specifics.proto"; | 16 import "app_specifics.proto"; |
20 import "autofill_specifics.proto"; | 17 import "autofill_specifics.proto"; |
21 import "bookmark_specifics.proto"; | 18 import "bookmark_specifics.proto"; |
22 import "client_commands.proto"; | 19 import "client_commands.proto"; |
23 import "client_debug_info.proto"; | 20 import "client_debug_info.proto"; |
24 import "device_info_specifics.proto"; | 21 import "device_info_specifics.proto"; |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 // is absent then the whole client (all datatypes) is throttled. | 708 // is absent then the whole client (all datatypes) is throttled. |
712 repeated int32 error_data_type_ids = 5; | 709 repeated int32 error_data_type_ids = 5; |
713 } | 710 } |
714 optional Error error = 13; | 711 optional Error error = 13; |
715 | 712 |
716 // The new per-client state for this client. If set, should be persisted and | 713 // The new per-client state for this client. If set, should be persisted and |
717 // sent with any subsequent ClientToServerMessages. | 714 // sent with any subsequent ClientToServerMessages. |
718 optional ChipBag new_bag_of_chips = 14; | 715 optional ChipBag new_bag_of_chips = 14; |
719 }; | 716 }; |
720 | 717 |
OLD | NEW |