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

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

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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
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 COMPONENTS_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 7 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
8 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 8 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class ManagedUserWhitelistSpecifics; 55 class ManagedUserWhitelistSpecifics;
56 class Media; 56 class Media;
57 class NavigationRedirect; 57 class NavigationRedirect;
58 class NigoriSpecifics; 58 class NigoriSpecifics;
59 class PasswordSpecifics; 59 class PasswordSpecifics;
60 class PasswordSpecificsData; 60 class PasswordSpecificsData;
61 class PreferenceSpecifics; 61 class PreferenceSpecifics;
62 class PriorityPreferenceSpecifics; 62 class PriorityPreferenceSpecifics;
63 class PrinterPPDData; 63 class PrinterPPDData;
64 class PrinterSpecifics; 64 class PrinterSpecifics;
65 class ReadingListSpecifics;
65 class SearchEngineSpecifics; 66 class SearchEngineSpecifics;
66 class SessionHeader; 67 class SessionHeader;
67 class SessionSpecifics; 68 class SessionSpecifics;
68 class SessionTab; 69 class SessionTab;
69 class SessionWindow; 70 class SessionWindow;
70 class SimpleCollapsedLayout; 71 class SimpleCollapsedLayout;
71 class SyncCycleCompletedEventInfo; 72 class SyncCycleCompletedEventInfo;
72 class SyncEntity; 73 class SyncEntity;
73 class SyncedNotificationAppInfoSpecifics; 74 class SyncedNotificationAppInfoSpecifics;
74 class SyncedNotificationSpecifics; 75 class SyncedNotificationSpecifics;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 244
244 std::unique_ptr<base::DictionaryValue> PasswordSpecificsToValue( 245 std::unique_ptr<base::DictionaryValue> PasswordSpecificsToValue(
245 const sync_pb::PasswordSpecifics& password_specifics); 246 const sync_pb::PasswordSpecifics& password_specifics);
246 247
247 std::unique_ptr<base::DictionaryValue> PreferenceSpecificsToValue( 248 std::unique_ptr<base::DictionaryValue> PreferenceSpecificsToValue(
248 const sync_pb::PreferenceSpecifics& password_specifics); 249 const sync_pb::PreferenceSpecifics& password_specifics);
249 250
250 std::unique_ptr<base::DictionaryValue> PrinterSpecificsToValue( 251 std::unique_ptr<base::DictionaryValue> PrinterSpecificsToValue(
251 const sync_pb::PrinterSpecifics& printer_specifics); 252 const sync_pb::PrinterSpecifics& printer_specifics);
252 253
254 // Sub-protocol of ReadingListSpecifics.
255 std::unique_ptr<base::DictionaryValue> ReadingListSpecificsToValue(
256 const sync_pb::ReadingListSpecifics& proto);
257
253 std::unique_ptr<base::DictionaryValue> 258 std::unique_ptr<base::DictionaryValue>
254 SyncedNotificationAppInfoSpecificsToValue( 259 SyncedNotificationAppInfoSpecificsToValue(
255 const sync_pb::SyncedNotificationAppInfoSpecifics& 260 const sync_pb::SyncedNotificationAppInfoSpecifics&
256 synced_notification_specifics); 261 synced_notification_specifics);
257 262
258 std::unique_ptr<base::DictionaryValue> SyncedNotificationSpecificsToValue( 263 std::unique_ptr<base::DictionaryValue> SyncedNotificationSpecificsToValue(
259 const sync_pb::SyncedNotificationSpecifics& synced_notification_specifics); 264 const sync_pb::SyncedNotificationSpecifics& synced_notification_specifics);
260 265
261 std::unique_ptr<base::DictionaryValue> SearchEngineSpecificsToValue( 266 std::unique_ptr<base::DictionaryValue> SearchEngineSpecificsToValue(
262 const sync_pb::SearchEngineSpecifics& search_engine_specifics); 267 const sync_pb::SearchEngineSpecifics& search_engine_specifics);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 315
311 std::unique_ptr<base::DictionaryValue> AttachmentIdProtoToValue( 316 std::unique_ptr<base::DictionaryValue> AttachmentIdProtoToValue(
312 const sync_pb::AttachmentIdProto& proto); 317 const sync_pb::AttachmentIdProto& proto);
313 318
314 std::unique_ptr<base::DictionaryValue> EntityMetadataToValue( 319 std::unique_ptr<base::DictionaryValue> EntityMetadataToValue(
315 const sync_pb::EntityMetadata& metadata); 320 const sync_pb::EntityMetadata& metadata);
316 321
317 } // namespace syncer 322 } // namespace syncer
318 323
319 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 324 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « components/sync/protocol/proto_enum_conversions.cc ('k') | components/sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698