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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 5 #ifndef COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_
6 #define COMPONENTS_SYNC_MODEL_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/model/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;
18 class AttachmentStoreForSync; 17 class AttachmentStoreForSync;
19 class AttachmentUploader; 18 class AttachmentUploader;
20 class SyncData; 19 class SyncData;
21 20
22 // AttachmentService is responsible for managing a model type's attachments. 21 // AttachmentService is responsible for managing a model type's attachments.
23 // 22 //
24 // Outside of sync code, AttachmentService shouldn't be used directly. Instead 23 // Outside of sync code, AttachmentService shouldn't be used directly. Instead
25 // use the functionality provided by SyncData and SyncChangeProcessor. 24 // use the functionality provided by SyncData and SyncChangeProcessor.
26 // 25 //
27 // Destroying this object does not necessarily cancel outstanding async 26 // Destroying this object does not necessarily cancel outstanding async
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // 79 //
81 // A request to upload attachments does not persist across restarts of Chrome. 80 // A request to upload attachments does not persist across restarts of Chrome.
82 // 81 //
83 // Invokes OnAttachmentUploaded on the Delegate (if provided). 82 // Invokes OnAttachmentUploaded on the Delegate (if provided).
84 virtual void UploadAttachments(const AttachmentIdList& attachment_ids) = 0; 83 virtual void UploadAttachments(const AttachmentIdList& attachment_ids) = 0;
85 }; 84 };
86 85
87 } // namespace syncer 86 } // namespace syncer
88 87
89 #endif // COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_ 88 #endif // COMPONENTS_SYNC_MODEL_ATTACHMENTS_ATTACHMENT_SERVICE_H_
OLDNEW
« no previous file with comments | « components/sync/js/js_test_util.h ('k') | components/sync/model_impl/shared_model_type_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698