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

Unified Diff: sync/internal_api/public/attachments/attachment_service_proxy.h

Issue 538403004: Revert of Replace AttachmentStore's StoreAttachments with UploadAttachments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/public/attachments/attachment_service_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/attachments/attachment_service_proxy.h
diff --git a/sync/internal_api/public/attachments/attachment_service_proxy.h b/sync/internal_api/public/attachments/attachment_service_proxy.h
index fa514572956287c7510c2f8c4e03c07072b0ede9..fb7c08c92882059f183be6e9483770eb52947cdd 100644
--- a/sync/internal_api/public/attachments/attachment_service_proxy.h
+++ b/sync/internal_api/public/attachments/attachment_service_proxy.h
@@ -51,16 +51,13 @@
virtual ~AttachmentServiceProxy();
// AttachmentService implementation.
- //
- // GetStore always returns NULL.
- virtual AttachmentStore* GetStore() OVERRIDE;
virtual void GetOrDownloadAttachments(
const AttachmentIdList& attachment_ids,
const GetOrDownloadCallback& callback) OVERRIDE;
virtual void DropAttachments(const AttachmentIdList& attachment_ids,
const DropCallback& callback) OVERRIDE;
- virtual void UploadAttachments(
- const AttachmentIdSet& attachment_ids) OVERRIDE;
+ virtual void StoreAttachments(const AttachmentList& attachment,
+ const StoreCallback& callback) OVERRIDE;
protected:
// Core does the work of proxying calls to AttachmentService methods from one
@@ -83,14 +80,13 @@
Core(const base::WeakPtr<syncer::AttachmentService>& wrapped);
// AttachmentService implementation.
- virtual AttachmentStore* GetStore() OVERRIDE;
virtual void GetOrDownloadAttachments(
const AttachmentIdList& attachment_ids,
const GetOrDownloadCallback& callback) OVERRIDE;
virtual void DropAttachments(const AttachmentIdList& attachment_ids,
const DropCallback& callback) OVERRIDE;
- virtual void UploadAttachments(
- const AttachmentIdSet& attachment_ids) OVERRIDE;
+ virtual void StoreAttachments(const AttachmentList& attachment,
+ const StoreCallback& callback) OVERRIDE;
protected:
friend class base::RefCountedThreadSafe<Core>;
« no previous file with comments | « sync/internal_api/public/attachments/attachment_service_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698