| 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 // 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 namespace base { | 10 namespace base { |
| 11 class DictionaryValue; | 11 class DictionaryValue; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace sync_pb { | 14 namespace sync_pb { |
| 15 class AppNotification; | 15 class AppNotification; |
| 16 class AppNotificationSettings; | 16 class AppNotificationSettings; |
| 17 class AppSettingSpecifics; | 17 class AppSettingSpecifics; |
| 18 class AppSpecifics; | 18 class AppSpecifics; |
| 19 class AutofillProfileSpecifics; | 19 class AutofillProfileSpecifics; |
| 20 class AutofillSpecifics; | 20 class AutofillSpecifics; |
| 21 class BookmarkSpecifics; | 21 class BookmarkSpecifics; |
| 22 class ClientToServerMessage; | 22 class ClientToServerMessage; |
| 23 class ClientToServerResponse; | 23 class ClientToServerResponse; |
| 24 class DeviceInformation; | 24 class DeviceInformation; |
| 25 class EncryptedData; | 25 class EncryptedData; |
| 26 class EntitySpecifics; | 26 class EntitySpecifics; |
| 27 class ExtensionSettingSpecifics; | 27 class ExtensionSettingSpecifics; |
| 28 class ExtensionSpecifics; | 28 class ExtensionSpecifics; |
| 29 class HistoryDeleteDirectiveSpecifics; |
| 29 class NigoriSpecifics; | 30 class NigoriSpecifics; |
| 30 class PasswordSpecifics; | 31 class PasswordSpecifics; |
| 31 class PasswordSpecificsData; | 32 class PasswordSpecificsData; |
| 32 class PreferenceSpecifics; | 33 class PreferenceSpecifics; |
| 33 class SearchEngineSpecifics; | 34 class SearchEngineSpecifics; |
| 34 class SessionHeader; | 35 class SessionHeader; |
| 35 class SessionSpecifics; | 36 class SessionSpecifics; |
| 36 class SessionTab; | 37 class SessionTab; |
| 37 class SessionWindow; | 38 class SessionWindow; |
| 38 class TabNavigation; | 39 class TabNavigation; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 106 |
| 106 base::DictionaryValue* BookmarkSpecificsToValue( | 107 base::DictionaryValue* BookmarkSpecificsToValue( |
| 107 const sync_pb::BookmarkSpecifics& bookmark_specifics); | 108 const sync_pb::BookmarkSpecifics& bookmark_specifics); |
| 108 | 109 |
| 109 base::DictionaryValue* ExtensionSettingSpecificsToValue( | 110 base::DictionaryValue* ExtensionSettingSpecificsToValue( |
| 110 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics); | 111 const sync_pb::ExtensionSettingSpecifics& extension_setting_specifics); |
| 111 | 112 |
| 112 base::DictionaryValue* ExtensionSpecificsToValue( | 113 base::DictionaryValue* ExtensionSpecificsToValue( |
| 113 const sync_pb::ExtensionSpecifics& extension_specifics); | 114 const sync_pb::ExtensionSpecifics& extension_specifics); |
| 114 | 115 |
| 116 base::DictionaryValue* HistoryDeleteDirectiveSpecificsToValue( |
| 117 const sync_pb::HistoryDeleteDirectiveSpecifics& |
| 118 history_delete_directive_specifics); |
| 119 |
| 115 base::DictionaryValue* NigoriSpecificsToValue( | 120 base::DictionaryValue* NigoriSpecificsToValue( |
| 116 const sync_pb::NigoriSpecifics& nigori_specifics); | 121 const sync_pb::NigoriSpecifics& nigori_specifics); |
| 117 | 122 |
| 118 base::DictionaryValue* PasswordSpecificsToValue( | 123 base::DictionaryValue* PasswordSpecificsToValue( |
| 119 const sync_pb::PasswordSpecifics& password_specifics); | 124 const sync_pb::PasswordSpecifics& password_specifics); |
| 120 | 125 |
| 121 base::DictionaryValue* PreferenceSpecificsToValue( | 126 base::DictionaryValue* PreferenceSpecificsToValue( |
| 122 const sync_pb::PreferenceSpecifics& password_specifics); | 127 const sync_pb::PreferenceSpecifics& password_specifics); |
| 123 | 128 |
| 124 base::DictionaryValue* SearchEngineSpecificsToValue( | 129 base::DictionaryValue* SearchEngineSpecificsToValue( |
| (...skipping 18 matching lines...) Expand all Loading... |
| 143 bool include_specifics); | 148 bool include_specifics); |
| 144 | 149 |
| 145 base::DictionaryValue* ClientToServerResponseToValue( | 150 base::DictionaryValue* ClientToServerResponseToValue( |
| 146 const sync_pb::ClientToServerResponse& proto, | 151 const sync_pb::ClientToServerResponse& proto, |
| 147 bool include_specifics); | 152 bool include_specifics); |
| 148 | 153 |
| 149 | 154 |
| 150 } // namespace syncer | 155 } // namespace syncer |
| 151 | 156 |
| 152 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 157 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| OLD | NEW |