| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // Keep this file in sync with the .proto files in this directory. | 5 // Keep this file in sync with the .proto files in this directory. |
| 6 | 6 |
| 7 #ifndef SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 7 #ifndef SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| 8 #define SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 8 #define SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| 9 | 9 |
| 10 #include "sync/base/sync_export.h" | 10 #include "sync/base/sync_export.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class DictionaryValue; | 13 class DictionaryValue; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace sync_pb { | 16 namespace sync_pb { |
| 17 class AppNotification; | 17 class AppNotification; |
| 18 class AppNotificationSettings; | 18 class AppNotificationSettings; |
| 19 class AppSettingSpecifics; | 19 class AppSettingSpecifics; |
| 20 class AppSpecifics; | 20 class AppSpecifics; |
| 21 class AutofillProfileSpecifics; | 21 class AutofillProfileSpecifics; |
| 22 class AutofillSpecifics; | 22 class AutofillSpecifics; |
| 23 class BookmarkSpecifics; | 23 class BookmarkSpecifics; |
| 24 class ClientToServerMessage; | 24 class ClientToServerMessage; |
| 25 class ClientToServerResponse; | 25 class ClientToServerResponse; |
| 26 class ControlPreferenceSpecifics; |
| 26 class DatatypeAssociationStats; | 27 class DatatypeAssociationStats; |
| 27 class DebugEventInfo; | 28 class DebugEventInfo; |
| 28 class DebugInfo; | 29 class DebugInfo; |
| 29 class DeviceInfoSpecifics; | 30 class DeviceInfoSpecifics; |
| 30 class DeviceInformation; | 31 class DeviceInformation; |
| 31 class EncryptedData; | 32 class EncryptedData; |
| 32 class EntitySpecifics; | 33 class EntitySpecifics; |
| 33 class EverythingDirective; | 34 class EverythingDirective; |
| 34 class ExperimentsSpecifics; | 35 class ExperimentsSpecifics; |
| 35 class ExtensionSettingSpecifics; | 36 class ExtensionSettingSpecifics; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 134 |
| 134 SYNC_EXPORT_PRIVATE base::DictionaryValue* BookmarkSpecificsToValue( | 135 SYNC_EXPORT_PRIVATE base::DictionaryValue* BookmarkSpecificsToValue( |
| 135 const sync_pb::BookmarkSpecifics& bookmark_specifics); | 136 const sync_pb::BookmarkSpecifics& bookmark_specifics); |
| 136 | 137 |
| 137 SYNC_EXPORT_PRIVATE base::DictionaryValue* DeviceInfoSpecificsToValue( | 138 SYNC_EXPORT_PRIVATE base::DictionaryValue* DeviceInfoSpecificsToValue( |
| 138 const sync_pb::DeviceInfoSpecifics& device_info_specifics); | 139 const sync_pb::DeviceInfoSpecifics& device_info_specifics); |
| 139 | 140 |
| 140 SYNC_EXPORT_PRIVATE base::DictionaryValue* ExperimentsSpecificsToValue( | 141 SYNC_EXPORT_PRIVATE base::DictionaryValue* ExperimentsSpecificsToValue( |
| 141 const sync_pb::ExperimentsSpecifics& proto); | 142 const sync_pb::ExperimentsSpecifics& proto); |
| 142 | 143 |
| 144 SYNC_EXPORT_PRIVATE base::DictionaryValue* ControlPreferenceSpecificsToValue( |
| 145 const sync_pb::ControlPreferenceSpecifics& proto); |
| 146 |
| 143 SYNC_EXPORT_PRIVATE base::DictionaryValue* ExtensionSettingSpecificsToValue( | 147 SYNC_EXPORT_PRIVATE base::DictionaryValue* ExtensionSettingSpecificsToValue( |
| 144 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics); | 148 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics); |
| 145 | 149 |
| 146 SYNC_EXPORT_PRIVATE base::DictionaryValue* ExtensionSpecificsToValue( | 150 SYNC_EXPORT_PRIVATE base::DictionaryValue* ExtensionSpecificsToValue( |
| 147 const sync_pb::ExtensionSpecifics& extension_specifics); | 151 const sync_pb::ExtensionSpecifics& extension_specifics); |
| 148 | 152 |
| 149 SYNC_EXPORT base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( | 153 SYNC_EXPORT base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( |
| 150 const sync_pb::HistoryDeleteDirectiveSpecifics& | 154 const sync_pb::HistoryDeleteDirectiveSpecifics& |
| 151 history_delete_directive_specifics); | 155 history_delete_directive_specifics); |
| 152 | 156 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 196 |
| 193 base::DictionaryValue* DebugInfoToValue( | 197 base::DictionaryValue* DebugInfoToValue( |
| 194 const sync_pb::DebugInfo& proto); | 198 const sync_pb::DebugInfo& proto); |
| 195 | 199 |
| 196 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( | 200 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( |
| 197 const sync_pb::SyncCycleCompletedEventInfo& proto); | 201 const sync_pb::SyncCycleCompletedEventInfo& proto); |
| 198 | 202 |
| 199 } // namespace syncer | 203 } // namespace syncer |
| 200 | 204 |
| 201 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 205 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| OLD | NEW |