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 26 matching lines...) Expand all Loading... |
37 import "nigori_specifics.proto"; | 37 import "nigori_specifics.proto"; |
38 import "managed_user_setting_specifics.proto"; | 38 import "managed_user_setting_specifics.proto"; |
39 import "managed_user_shared_setting_specifics.proto"; | 39 import "managed_user_shared_setting_specifics.proto"; |
40 import "managed_user_specifics.proto"; | 40 import "managed_user_specifics.proto"; |
41 import "password_specifics.proto"; | 41 import "password_specifics.proto"; |
42 import "preference_specifics.proto"; | 42 import "preference_specifics.proto"; |
43 import "priority_preference_specifics.proto"; | 43 import "priority_preference_specifics.proto"; |
44 import "search_engine_specifics.proto"; | 44 import "search_engine_specifics.proto"; |
45 import "session_specifics.proto"; | 45 import "session_specifics.proto"; |
46 import "sync_enums.proto"; | 46 import "sync_enums.proto"; |
| 47 import "synced_notification_app_info_specifics.proto"; |
47 import "synced_notification_specifics.proto"; | 48 import "synced_notification_specifics.proto"; |
48 import "theme_specifics.proto"; | 49 import "theme_specifics.proto"; |
49 import "typed_url_specifics.proto"; | 50 import "typed_url_specifics.proto"; |
50 import "unique_position.proto"; | 51 import "unique_position.proto"; |
51 | 52 |
52 // Used for inspecting how long we spent performing operations in different | 53 // Used for inspecting how long we spent performing operations in different |
53 // backends. All times must be in millis. | 54 // backends. All times must be in millis. |
54 message ProfilingData { | 55 message ProfilingData { |
55 optional int64 meta_data_write_time = 1; | 56 optional int64 meta_data_write_time = 1; |
56 optional int64 file_data_write_time = 2; | 57 optional int64 file_data_write_time = 2; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 optional NigoriSpecifics nigori = 47745; | 108 optional NigoriSpecifics nigori = 47745; |
108 optional ExtensionSpecifics extension = 48119; | 109 optional ExtensionSpecifics extension = 48119; |
109 optional AppSpecifics app = 48364; | 110 optional AppSpecifics app = 48364; |
110 optional SessionSpecifics session = 50119; | 111 optional SessionSpecifics session = 50119; |
111 optional AutofillProfileSpecifics autofill_profile = 63951; | 112 optional AutofillProfileSpecifics autofill_profile = 63951; |
112 optional SearchEngineSpecifics search_engine = 88610; | 113 optional SearchEngineSpecifics search_engine = 88610; |
113 optional ExtensionSettingSpecifics extension_setting = 96159; | 114 optional ExtensionSettingSpecifics extension_setting = 96159; |
114 optional AppSettingSpecifics app_setting = 103656; | 115 optional AppSettingSpecifics app_setting = 103656; |
115 optional HistoryDeleteDirectiveSpecifics history_delete_directive = 150251; | 116 optional HistoryDeleteDirectiveSpecifics history_delete_directive = 150251; |
116 optional SyncedNotificationSpecifics synced_notification = 153108; | 117 optional SyncedNotificationSpecifics synced_notification = 153108; |
| 118 optional SyncedNotificationAppInfoSpecifics synced_notification_app_info = |
| 119 244906; |
117 optional DeviceInfoSpecifics device_info = 154522; | 120 optional DeviceInfoSpecifics device_info = 154522; |
118 optional ExperimentsSpecifics experiments = 161496; | 121 optional ExperimentsSpecifics experiments = 161496; |
119 optional PriorityPreferenceSpecifics priority_preference = 163425; | 122 optional PriorityPreferenceSpecifics priority_preference = 163425; |
120 optional DictionarySpecifics dictionary = 170540; | 123 optional DictionarySpecifics dictionary = 170540; |
121 optional FaviconTrackingSpecifics favicon_tracking = 181534; | 124 optional FaviconTrackingSpecifics favicon_tracking = 181534; |
122 optional FaviconImageSpecifics favicon_image = 182019; | 125 optional FaviconImageSpecifics favicon_image = 182019; |
123 optional ManagedUserSettingSpecifics managed_user_setting = 186662; | 126 optional ManagedUserSettingSpecifics managed_user_setting = 186662; |
124 optional ManagedUserSpecifics managed_user = 194582; | 127 optional ManagedUserSpecifics managed_user = 194582; |
125 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting = | 128 optional ManagedUserSharedSettingSpecifics managed_user_shared_setting = |
126 202026; | 129 202026; |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 // is absent then the whole client (all datatypes) is throttled. | 893 // is absent then the whole client (all datatypes) is throttled. |
891 repeated int32 error_data_type_ids = 5; | 894 repeated int32 error_data_type_ids = 5; |
892 } | 895 } |
893 optional Error error = 13; | 896 optional Error error = 13; |
894 | 897 |
895 // The new per-client state for this client. If set, should be persisted and | 898 // The new per-client state for this client. If set, should be persisted and |
896 // sent with any subsequent ClientToServerMessages. | 899 // sent with any subsequent ClientToServerMessages. |
897 optional ChipBag new_bag_of_chips = 14; | 900 optional ChipBag new_bag_of_chips = 14; |
898 }; | 901 }; |
899 | 902 |
OLD | NEW |