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

Side by Side Diff: sync/internal_api/public/attachments/attachment_service.h

Issue 436373002: Move non-API code out of sync/api/attachments/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply CR feedback. Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
6 #define SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "sync/api/attachments/attachment.h" 12 #include "sync/api/attachments/attachment.h"
13 #include "sync/base/sync_export.h" 13 #include "sync/base/sync_export.h"
14 14
15 namespace syncer { 15 namespace syncer {
16 16
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Store |attachments| on device and (eventually) upload them to the server. 82 // Store |attachments| on device and (eventually) upload them to the server.
83 // 83 //
84 // Invokes |callback| once the attachments have been written to device 84 // Invokes |callback| once the attachments have been written to device
85 // storage. 85 // storage.
86 virtual void StoreAttachments(const AttachmentList& attachments, 86 virtual void StoreAttachments(const AttachmentList& attachments,
87 const StoreCallback& callback) = 0; 87 const StoreCallback& callback) = 0;
88 }; 88 };
89 89
90 } // namespace syncer 90 } // namespace syncer
91 91
92 #endif // SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 92 #endif // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_ATTACHMENT_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698