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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 class ExtensionSpecifics; | 43 class ExtensionSpecifics; |
44 class FaviconImageSpecifics; | 44 class FaviconImageSpecifics; |
45 class FaviconTrackingSpecifics; | 45 class FaviconTrackingSpecifics; |
46 class GlobalIdDirective; | 46 class GlobalIdDirective; |
47 class HistoryDeleteDirectiveSpecifics; | 47 class HistoryDeleteDirectiveSpecifics; |
48 class KeystoreEncryptionFlagsSpecifics; | 48 class KeystoreEncryptionFlagsSpecifics; |
49 class Media; | 49 class Media; |
50 class ManagedUserSettingSpecifics; | 50 class ManagedUserSettingSpecifics; |
51 class ManagedUserSharedSettingSpecifics; | 51 class ManagedUserSharedSettingSpecifics; |
52 class ManagedUserSpecifics; | 52 class ManagedUserSpecifics; |
| 53 class NavigationRedirect; |
53 class NigoriSpecifics; | 54 class NigoriSpecifics; |
54 class PasswordSpecifics; | 55 class PasswordSpecifics; |
55 class PasswordSpecificsData; | 56 class PasswordSpecificsData; |
56 class PreferenceSpecifics; | 57 class PreferenceSpecifics; |
57 class PriorityPreferenceSpecifics; | 58 class PriorityPreferenceSpecifics; |
58 class SearchEngineSpecifics; | 59 class SearchEngineSpecifics; |
59 class SessionHeader; | 60 class SessionHeader; |
60 class SessionSpecifics; | 61 class SessionSpecifics; |
61 class SessionTab; | 62 class SessionTab; |
62 class SessionWindow; | 63 class SessionWindow; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 112 |
112 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue( | 113 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue( |
113 const sync_pb::SessionTab& session_tab); | 114 const sync_pb::SessionTab& session_tab); |
114 | 115 |
115 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue( | 116 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue( |
116 const sync_pb::SessionWindow& session_window); | 117 const sync_pb::SessionWindow& session_window); |
117 | 118 |
118 SYNC_EXPORT_PRIVATE base::DictionaryValue* TabNavigationToValue( | 119 SYNC_EXPORT_PRIVATE base::DictionaryValue* TabNavigationToValue( |
119 const sync_pb::TabNavigation& tab_navigation); | 120 const sync_pb::TabNavigation& tab_navigation); |
120 | 121 |
| 122 SYNC_EXPORT_PRIVATE base::DictionaryValue* NavigationRedirectToValue( |
| 123 const sync_pb::NavigationRedirect& navigation_redirect); |
| 124 |
121 // Sub-protocol of PasswordSpecifics. | 125 // Sub-protocol of PasswordSpecifics. |
122 | 126 |
123 SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsDataToValue( | 127 SYNC_EXPORT_PRIVATE base::DictionaryValue* PasswordSpecificsDataToValue( |
124 const sync_pb::PasswordSpecificsData& password_specifics_data); | 128 const sync_pb::PasswordSpecificsData& password_specifics_data); |
125 | 129 |
126 // Sub-protocol of NigoriSpecifics. | 130 // Sub-protocol of NigoriSpecifics. |
127 | 131 |
128 base::DictionaryValue* DeviceInformationToValue( | 132 base::DictionaryValue* DeviceInformationToValue( |
129 const sync_pb::DeviceInformation& device_information); | 133 const sync_pb::DeviceInformation& device_information); |
130 | 134 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 300 |
297 base::DictionaryValue* ClientConfigParamsToValue( | 301 base::DictionaryValue* ClientConfigParamsToValue( |
298 const sync_pb::ClientConfigParams& proto); | 302 const sync_pb::ClientConfigParams& proto); |
299 | 303 |
300 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue( | 304 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue( |
301 const sync_pb::AttachmentIdProto& proto); | 305 const sync_pb::AttachmentIdProto& proto); |
302 | 306 |
303 } // namespace syncer | 307 } // namespace syncer |
304 | 308 |
305 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ | 309 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ |
OLD | NEW |