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

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

Issue 187303006: Update sync API to support attachments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@attachmentapi
Patch Set: Remove AttachmentServiceBase for reals. Created 6 years, 8 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 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 AppListSpecifics; 17 class AppListSpecifics;
18 class AppNotification; 18 class AppNotification;
19 class AppNotificationSettings; 19 class AppNotificationSettings;
20 class AppSettingSpecifics; 20 class AppSettingSpecifics;
21 class AppSpecifics; 21 class AppSpecifics;
22 class ArticleSpecifics; 22 class ArticleSpecifics;
23 class AttachmentIdProto;
23 class AutofillProfileSpecifics; 24 class AutofillProfileSpecifics;
24 class AutofillSpecifics; 25 class AutofillSpecifics;
25 class BookmarkSpecifics; 26 class BookmarkSpecifics;
26 class ClientConfigParams; 27 class ClientConfigParams;
27 class ClientToServerMessage; 28 class ClientToServerMessage;
28 class ClientToServerResponse; 29 class ClientToServerResponse;
29 class CoalescedSyncedNotification; 30 class CoalescedSyncedNotification;
30 class CollapsedInfo; 31 class CollapsedInfo;
31 class DatatypeAssociationStats; 32 class DatatypeAssociationStats;
32 class DebugEventInfo; 33 class DebugEventInfo;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 290
290 base::DictionaryValue* DebugInfoToValue( 291 base::DictionaryValue* DebugInfoToValue(
291 const sync_pb::DebugInfo& proto); 292 const sync_pb::DebugInfo& proto);
292 293
293 base::DictionaryValue* SyncCycleCompletedEventInfoToValue( 294 base::DictionaryValue* SyncCycleCompletedEventInfoToValue(
294 const sync_pb::SyncCycleCompletedEventInfo& proto); 295 const sync_pb::SyncCycleCompletedEventInfo& proto);
295 296
296 base::DictionaryValue* ClientConfigParamsToValue( 297 base::DictionaryValue* ClientConfigParamsToValue(
297 const sync_pb::ClientConfigParams& proto); 298 const sync_pb::ClientConfigParams& proto);
298 299
300 SYNC_EXPORT_PRIVATE base::DictionaryValue* AttachmentIdProtoToValue(
301 const sync_pb::AttachmentIdProto& proto);
302
299 } // namespace syncer 303 } // namespace syncer
300 304
301 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_ 305 #endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698