Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: sync/protocol/proto_value_conversions.h

Issue 1066623008: Sync bookmark app icon urls and sizes, and download icons for new apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated sync value conversions Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sync/protocol/app_specifics.proto ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 28 matching lines...) Expand all
39 class EntitySpecifics; 39 class EntitySpecifics;
40 class EverythingDirective; 40 class EverythingDirective;
41 class ExperimentsSpecifics; 41 class ExperimentsSpecifics;
42 class ExtensionSettingSpecifics; 42 class ExtensionSettingSpecifics;
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 LinkedAppIconInfo;
49 class Media; 50 class Media;
50 class ManagedUserSettingSpecifics; 51 class ManagedUserSettingSpecifics;
51 class ManagedUserSharedSettingSpecifics; 52 class ManagedUserSharedSettingSpecifics;
52 class ManagedUserSpecifics; 53 class ManagedUserSpecifics;
53 class ManagedUserWhitelistSpecifics; 54 class ManagedUserWhitelistSpecifics;
54 class NavigationRedirect; 55 class NavigationRedirect;
55 class NigoriSpecifics; 56 class NigoriSpecifics;
56 class PasswordSpecifics; 57 class PasswordSpecifics;
57 class PasswordSpecificsData; 58 class PasswordSpecificsData;
58 class PreferenceSpecifics; 59 class PreferenceSpecifics;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // caller. 93 // caller.
93 94
94 // TODO(akalin): Perhaps extend this to decrypt? 95 // TODO(akalin): Perhaps extend this to decrypt?
95 SYNC_EXPORT_PRIVATE base::DictionaryValue* EncryptedDataToValue( 96 SYNC_EXPORT_PRIVATE base::DictionaryValue* EncryptedDataToValue(
96 const sync_pb::EncryptedData& encrypted_data); 97 const sync_pb::EncryptedData& encrypted_data);
97 98
98 // Sub-protocol of AppListSpecifics. 99 // Sub-protocol of AppListSpecifics.
99 SYNC_EXPORT_PRIVATE base::DictionaryValue* AppListSpecificsToValue( 100 SYNC_EXPORT_PRIVATE base::DictionaryValue* AppListSpecificsToValue(
100 const sync_pb::AppListSpecifics& proto); 101 const sync_pb::AppListSpecifics& proto);
101 102
102 // Sub-protocol of AppSpecifics. 103 // Sub-protocols of AppSpecifics.
103 SYNC_EXPORT_PRIVATE base::DictionaryValue* AppSettingsToValue( 104 SYNC_EXPORT_PRIVATE base::DictionaryValue* AppSettingsToValue(
104 const sync_pb::AppNotificationSettings& app_notification_settings); 105 const sync_pb::AppNotificationSettings& app_notification_settings);
105 106
107 SYNC_EXPORT_PRIVATE base::DictionaryValue* LinkedAppIconInfoToValue(
108 const sync_pb::LinkedAppIconInfo& linked_app_icon_info);
109
106 // Sub-protocols of SessionSpecifics. 110 // Sub-protocols of SessionSpecifics.
107 111
108 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionHeaderToValue( 112 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionHeaderToValue(
109 const sync_pb::SessionHeader& session_header); 113 const sync_pb::SessionHeader& session_header);
110 114
111 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue( 115 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionTabToValue(
112 const sync_pb::SessionTab& session_tab); 116 const sync_pb::SessionTab& session_tab);
113 117
114 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue( 118 SYNC_EXPORT_PRIVATE base::DictionaryValue* SessionWindowToValue(
115 const sync_pb::SessionWindow& session_window); 119 const sync_pb::SessionWindow& session_window);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 289
286 base::DictionaryValue* ClientConfigParamsToValue( 290 base::DictionaryValue* ClientConfigParamsToValue(
287 const sync_pb::ClientConfigParams& proto); 291 const sync_pb::ClientConfigParams& proto);
288 292
289 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue( 293 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue(
290 const sync_pb::AttachmentIdProto& proto); 294 const sync_pb::AttachmentIdProto& proto);
291 295
292 } // namespace syncer 296 } // namespace syncer
293 297
294 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 298 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « sync/protocol/app_specifics.proto ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698