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

Side by Side Diff: components/sync/model/attachments/attachment_service.h

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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 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 COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_
6 #define COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 6 #define COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "components/sync/api/attachments/attachment.h" 12 #include "components/sync/model/attachments/attachment.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 15
16 class AttachmentDownloader; 16 class AttachmentDownloader;
17 class AttachmentStore; 17 class AttachmentStore;
18 class AttachmentStoreForSync; 18 class AttachmentStoreForSync;
19 class AttachmentUploader; 19 class AttachmentUploader;
20 class SyncData; 20 class SyncData;
21 21
22 // AttachmentService is responsible for managing a model type's attachments. 22 // AttachmentService is responsible for managing a model type's attachments.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // automatically retried if transient errors occur. 79 // automatically retried if transient errors occur.
80 // 80 //
81 // A request to upload attachments does not persist across restarts of Chrome. 81 // A request to upload attachments does not persist across restarts of Chrome.
82 // 82 //
83 // Invokes OnAttachmentUploaded on the Delegate (if provided). 83 // Invokes OnAttachmentUploaded on the Delegate (if provided).
84 virtual void UploadAttachments(const AttachmentIdList& attachment_ids) = 0; 84 virtual void UploadAttachments(const AttachmentIdList& attachment_ids) = 0;
85 }; 85 };
86 86
87 } // namespace syncer 87 } // namespace syncer
88 88
89 #endif // COMPONENTS_SYNC_API_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 89 #endif // COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698