| OLD | NEW |
| 1 // Copyright (c) 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" |
| 11 |
| 10 namespace base { | 12 namespace base { |
| 11 class DictionaryValue; | 13 class DictionaryValue; |
| 12 } | 14 } |
| 13 | 15 |
| 14 namespace sync_pb { | 16 namespace sync_pb { |
| 15 class AppNotification; | 17 class AppNotification; |
| 16 class AppNotificationSettings; | 18 class AppNotificationSettings; |
| 17 class AppSettingSpecifics; | 19 class AppSettingSpecifics; |
| 18 class AppSpecifics; | 20 class AppSpecifics; |
| 19 class AutofillProfileSpecifics; | 21 class AutofillProfileSpecifics; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 139 |
| 138 base::DictionaryValue* ExperimentsSpecificsToValue( | 140 base::DictionaryValue* ExperimentsSpecificsToValue( |
| 139 const sync_pb::ExperimentsSpecifics& proto); | 141 const sync_pb::ExperimentsSpecifics& proto); |
| 140 | 142 |
| 141 base::DictionaryValue* ExtensionSettingSpecificsToValue( | 143 base::DictionaryValue* ExtensionSettingSpecificsToValue( |
| 142 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics); | 144 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics); |
| 143 | 145 |
| 144 base::DictionaryValue* ExtensionSpecificsToValue( | 146 base::DictionaryValue* ExtensionSpecificsToValue( |
| 145 const sync_pb::ExtensionSpecifics& extension_specifics); | 147 const sync_pb::ExtensionSpecifics& extension_specifics); |
| 146 | 148 |
| 147 base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( | 149 SYNC_EXPORT base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( |
| 148 const sync_pb::HistoryDeleteDirectiveSpecifics& | 150 const sync_pb::HistoryDeleteDirectiveSpecifics& |
| 149 history_delete_directive_specifics); | 151 history_delete_directive_specifics); |
| 150 | 152 |
| 151 base::DictionaryValue* NigoriSpecificsToValue( | 153 base::DictionaryValue* NigoriSpecificsToValue( |
| 152 const sync_pb::NigoriSpecifics& nigori_specifics); | 154 const sync_pb::NigoriSpecifics& nigori_specifics); |
| 153 | 155 |
| 154 base::DictionaryValue* PasswordSpecificsToValue( | 156 base::DictionaryValue* PasswordSpecificsToValue( |
| 155 const sync_pb::PasswordSpecifics& password_specifics); | 157 const sync_pb::PasswordSpecifics& password_specifics); |
| 156 | 158 |
| 157 base::DictionaryValue* PreferenceSpecificsToValue( | 159 base::DictionaryValue* PreferenceSpecificsToValue( |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 192 |
| 191 base::DictionaryValue* DebugInfoToValue( | 193 base::DictionaryValue* DebugInfoToValue( |
| 192 const sync_pb::DebugInfo& proto); | 194 const sync_pb::DebugInfo& proto); |
| 193 | 195 |
| 194 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( | 196 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( |
| 195 const sync_pb::SyncCycleCompletedEventInfo& proto); | 197 const sync_pb::SyncCycleCompletedEventInfo& proto); |
| 196 | 198 |
| 197 } // namespace syncer | 199 } // namespace syncer |
| 198 | 200 |
| 199 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 201 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| OLD | NEW |