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