| 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" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 class PasswordSpecificsData; | 56 class PasswordSpecificsData; |
| 57 class PreferenceSpecifics; | 57 class PreferenceSpecifics; |
| 58 class PriorityPreferenceSpecifics; | 58 class PriorityPreferenceSpecifics; |
| 59 class SearchEngineSpecifics; | 59 class SearchEngineSpecifics; |
| 60 class SessionHeader; | 60 class SessionHeader; |
| 61 class SessionSpecifics; | 61 class SessionSpecifics; |
| 62 class SessionTab; | 62 class SessionTab; |
| 63 class SessionWindow; | 63 class SessionWindow; |
| 64 class SimpleCollapsedLayout; | 64 class SimpleCollapsedLayout; |
| 65 class SyncCycleCompletedEventInfo; | 65 class SyncCycleCompletedEventInfo; |
| 66 class SyncEntity; |
| 66 class SyncedNotification; | 67 class SyncedNotification; |
| 67 class SyncedNotificationAction; | 68 class SyncedNotificationAction; |
| 68 class SyncedNotificationAppInfo; | 69 class SyncedNotificationAppInfo; |
| 69 class SyncedNotificationAppInfoSpecifics; | 70 class SyncedNotificationAppInfoSpecifics; |
| 70 class SyncedNotificationDestination; | 71 class SyncedNotificationDestination; |
| 71 class SyncedNotificationImage; | 72 class SyncedNotificationImage; |
| 72 class SyncedNotificationProfileImage; | 73 class SyncedNotificationProfileImage; |
| 73 class SyncedNotificationRenderInfo; | 74 class SyncedNotificationRenderInfo; |
| 74 class SyncedNotificationSpecifics; | 75 class SyncedNotificationSpecifics; |
| 75 class TabNavigation; | 76 class TabNavigation; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 const sync_pb::ThemeSpecifics& theme_specifics); | 272 const sync_pb::ThemeSpecifics& theme_specifics); |
| 272 | 273 |
| 273 SYNC_EXPORT_PRIVATE base::DictionaryValue* TypedUrlSpecificsToValue( | 274 SYNC_EXPORT_PRIVATE base::DictionaryValue* TypedUrlSpecificsToValue( |
| 274 const sync_pb::TypedUrlSpecifics& typed_url_specifics); | 275 const sync_pb::TypedUrlSpecifics& typed_url_specifics); |
| 275 | 276 |
| 276 // Any present extensions are mapped to sub-dictionary values with the | 277 // Any present extensions are mapped to sub-dictionary values with the |
| 277 // key equal to the extension name. | 278 // key equal to the extension name. |
| 278 SYNC_EXPORT_PRIVATE base::DictionaryValue* EntitySpecificsToValue( | 279 SYNC_EXPORT_PRIVATE base::DictionaryValue* EntitySpecificsToValue( |
| 279 const sync_pb::EntitySpecifics& specifics); | 280 const sync_pb::EntitySpecifics& specifics); |
| 280 | 281 |
| 282 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncEntityToValue( |
| 283 const sync_pb::SyncEntity& entity, |
| 284 bool include_specifics); |
| 285 |
| 281 SYNC_EXPORT_PRIVATE base::DictionaryValue* ClientToServerMessageToValue( | 286 SYNC_EXPORT_PRIVATE base::DictionaryValue* ClientToServerMessageToValue( |
| 282 const sync_pb::ClientToServerMessage& proto, | 287 const sync_pb::ClientToServerMessage& proto, |
| 283 bool include_specifics); | 288 bool include_specifics); |
| 284 | 289 |
| 285 SYNC_EXPORT_PRIVATE base::DictionaryValue* ClientToServerResponseToValue( | 290 SYNC_EXPORT_PRIVATE base::DictionaryValue* ClientToServerResponseToValue( |
| 286 const sync_pb::ClientToServerResponse& proto, | 291 const sync_pb::ClientToServerResponse& proto, |
| 287 bool include_specifics); | 292 bool include_specifics); |
| 288 | 293 |
| 289 base::DictionaryValue* DatatypeAssociationStatsToValue( | 294 base::DictionaryValue* DatatypeAssociationStatsToValue( |
| 290 const sync_pb::DatatypeAssociationStats& proto); | 295 const sync_pb::DatatypeAssociationStats& proto); |
| 291 | 296 |
| 292 base::DictionaryValue* DebugEventInfoToValue( | 297 base::DictionaryValue* DebugEventInfoToValue( |
| 293 const sync_pb::DebugEventInfo& proto); | 298 const sync_pb::DebugEventInfo& proto); |
| 294 | 299 |
| 295 base::DictionaryValue* DebugInfoToValue( | 300 base::DictionaryValue* DebugInfoToValue( |
| 296 const sync_pb::DebugInfo& proto); | 301 const sync_pb::DebugInfo& proto); |
| 297 | 302 |
| 298 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( | 303 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( |
| 299 const sync_pb::SyncCycleCompletedEventInfo& proto); | 304 const sync_pb::SyncCycleCompletedEventInfo& proto); |
| 300 | 305 |
| 301 base::DictionaryValue* ClientConfigParamsToValue( | 306 base::DictionaryValue* ClientConfigParamsToValue( |
| 302 const sync_pb::ClientConfigParams& proto); | 307 const sync_pb::ClientConfigParams& proto); |
| 303 | 308 |
| 304 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue( | 309 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue( |
| 305 const sync_pb::AttachmentIdProto& proto); | 310 const sync_pb::AttachmentIdProto& proto); |
| 306 | 311 |
| 307 } // namespace syncer | 312 } // namespace syncer |
| 308 | 313 |
| 309 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 314 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| OLD | NEW |