| 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 AppInfo; |
| 18 class AppInfoSpecifics; |
| 17 class AppListSpecifics; | 19 class AppListSpecifics; |
| 18 class AppNotification; | 20 class AppNotification; |
| 19 class AppNotificationSettings; | 21 class AppNotificationSettings; |
| 20 class AppSettingSpecifics; | 22 class AppSettingSpecifics; |
| 21 class AppSpecifics; | 23 class AppSpecifics; |
| 22 class ArticleSpecifics; | 24 class ArticleSpecifics; |
| 23 class AutofillProfileSpecifics; | 25 class AutofillProfileSpecifics; |
| 24 class AutofillSpecifics; | 26 class AutofillSpecifics; |
| 25 class BookmarkSpecifics; | 27 class BookmarkSpecifics; |
| 26 class ClientConfigParams; | 28 class ClientConfigParams; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 57 class SearchEngineSpecifics; | 59 class SearchEngineSpecifics; |
| 58 class SessionHeader; | 60 class SessionHeader; |
| 59 class SessionSpecifics; | 61 class SessionSpecifics; |
| 60 class SessionTab; | 62 class SessionTab; |
| 61 class SessionWindow; | 63 class SessionWindow; |
| 62 class SimpleCollapsedLayout; | 64 class SimpleCollapsedLayout; |
| 63 class SyncAttachmentId; | 65 class SyncAttachmentId; |
| 64 class SyncCycleCompletedEventInfo; | 66 class SyncCycleCompletedEventInfo; |
| 65 class SyncedNotification; | 67 class SyncedNotification; |
| 66 class SyncedNotificationAction; | 68 class SyncedNotificationAction; |
| 69 class SyncedNotificationAppInfo; |
| 70 class SyncedNotificationAppInfoSpecifics; |
| 67 class SyncedNotificationDestination; | 71 class SyncedNotificationDestination; |
| 68 class SyncedNotificationImage; | 72 class SyncedNotificationImage; |
| 69 class SyncedNotificationProfileImage; | 73 class SyncedNotificationProfileImage; |
| 70 class SyncedNotificationRenderInfo; | 74 class SyncedNotificationRenderInfo; |
| 71 class SyncedNotificationSpecifics; | 75 class SyncedNotificationSpecifics; |
| 72 class TabNavigation; | 76 class TabNavigation; |
| 73 class Target; | 77 class Target; |
| 74 class ThemeSpecifics; | 78 class ThemeSpecifics; |
| 75 class TimeRangeDirective; | 79 class TimeRangeDirective; |
| 76 class TypedUrlSpecifics; | 80 class TypedUrlSpecifics; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 246 |
| 243 SYNC_EXPORT_PRIVATE base::DictionaryValue* NigoriSpecificsToValue( | 247 SYNC_EXPORT_PRIVATE base::DictionaryValue* NigoriSpecificsToValue( |
| 244 const sync_pb::NigoriSpecifics& nigori_specifics); | 248 const sync_pb::NigoriSpecifics& nigori_specifics); |
| 245 | 249 |
| 246 SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsToValue( | 250 SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsToValue( |
| 247 const sync_pb::PasswordSpecifics& password_specifics); | 251 const sync_pb::PasswordSpecifics& password_specifics); |
| 248 | 252 |
| 249 SYNC_EXPORT_PRIVATE base::DictionaryValue* PreferenceSpecificsToValue( | 253 SYNC_EXPORT_PRIVATE base::DictionaryValue* PreferenceSpecificsToValue( |
| 250 const sync_pb::PreferenceSpecifics& password_specifics); | 254 const sync_pb::PreferenceSpecifics& password_specifics); |
| 251 | 255 |
| 256 SYNC_EXPORT_PRIVATE base::DictionaryValue* |
| 257 SyncedNotificationAppInfoSpecificsToValue( |
| 258 const sync_pb::AppInfoSpecifics& |
| 259 synced_notification_specifics); |
| 260 |
| 252 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncedNotificationSpecificsToValue( | 261 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncedNotificationSpecificsToValue( |
| 253 const sync_pb::SyncedNotificationSpecifics& | 262 const sync_pb::SyncedNotificationSpecifics& |
| 254 synced_notification_specifics); | 263 synced_notification_specifics); |
| 255 | 264 |
| 256 SYNC_EXPORT_PRIVATE base::DictionaryValue* SearchEngineSpecificsToValue( | 265 SYNC_EXPORT_PRIVATE base::DictionaryValue* SearchEngineSpecificsToValue( |
| 257 const sync_pb::SearchEngineSpecifics& search_engine_specifics); | 266 const sync_pb::SearchEngineSpecifics& search_engine_specifics); |
| 258 | 267 |
| 259 SYNC_EXPORT_PRIVATE base::DictionaryValue* ThemeSpecificsToValue( | 268 SYNC_EXPORT_PRIVATE base::DictionaryValue* ThemeSpecificsToValue( |
| 260 const sync_pb::ThemeSpecifics& theme_specifics); | 269 const sync_pb::ThemeSpecifics& theme_specifics); |
| 261 | 270 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 289 | 298 |
| 290 base::DictionaryValue* ClientConfigParamsToValue( | 299 base::DictionaryValue* ClientConfigParamsToValue( |
| 291 const sync_pb::ClientConfigParams& proto); | 300 const sync_pb::ClientConfigParams& proto); |
| 292 | 301 |
| 293 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncAttachmentIdToValue( | 302 SYNC_EXPORT_PRIVATE base::DictionaryValue* SyncAttachmentIdToValue( |
| 294 const sync_pb::SyncAttachmentId& proto); | 303 const sync_pb::SyncAttachmentId& proto); |
| 295 | 304 |
| 296 } // namespace syncer | 305 } // namespace syncer |
| 297 | 306 |
| 298 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 307 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
| OLD | NEW |