Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / sync / internal_api / public / attachments / attachment_service_proxy.h
index fb7c08c..fa51457 100644 (file)
@@ -51,13 +51,16 @@ class SYNC_EXPORT AttachmentServiceProxy : public AttachmentService {
   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 StoreAttachments(const AttachmentList& attachment,
-                                const StoreCallback& callback) OVERRIDE;
+  virtual void UploadAttachments(
+      const AttachmentIdSet& attachment_ids) OVERRIDE;
 
  protected:
   // Core does the work of proxying calls to AttachmentService methods from one
@@ -80,13 +83,14 @@ class SYNC_EXPORT AttachmentServiceProxy : public AttachmentService {
     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 StoreAttachments(const AttachmentList& attachment,
-                                  const StoreCallback& callback) OVERRIDE;
+    virtual void UploadAttachments(
+        const AttachmentIdSet& attachment_ids) OVERRIDE;
 
    protected:
     friend class base::RefCountedThreadSafe<Core>;