Index: sync/internal_api/attachments/attachment_service_proxy.cc |
diff --git a/sync/internal_api/attachments/attachment_service_proxy.cc b/sync/internal_api/attachments/attachment_service_proxy.cc |
index 6b1040bafdf3a0aa6cbe5b367384b958a3d76057..92104ced5dbb6c6124bdbb4d00df445fea7220a7 100644 |
--- a/sync/internal_api/attachments/attachment_service_proxy.cc |
+++ b/sync/internal_api/attachments/attachment_service_proxy.cc |
@@ -26,15 +26,6 @@ void ProxyGetOrDownloadCallback( |
FROM_HERE, base::Bind(callback, result, base::Passed(&attachments))); |
} |
-// Invokes |callback| with |result| and |attachments| in the |task_runner| |
-// thread. |
-void ProxyDropCallback( |
- const scoped_refptr<base::SequencedTaskRunner>& task_runner, |
- const AttachmentService::DropCallback& callback, |
- const AttachmentService::DropResult& result) { |
- task_runner->PostTask(FROM_HERE, base::Bind(callback, result)); |
-} |
- |
} // namespace |
AttachmentServiceProxy::AttachmentServiceProxy() { |
@@ -78,19 +69,6 @@ void AttachmentServiceProxy::GetOrDownloadAttachments( |
proxy_callback)); |
} |
-void AttachmentServiceProxy::DropAttachments( |
- const AttachmentIdList& attachment_ids, |
- const DropCallback& callback) { |
- DCHECK(wrapped_task_runner_.get()); |
- DropCallback proxy_callback = base::Bind( |
- &ProxyDropCallback, base::ThreadTaskRunnerHandle::Get(), callback); |
- wrapped_task_runner_->PostTask(FROM_HERE, |
- base::Bind(&AttachmentService::DropAttachments, |
- core_, |
- attachment_ids, |
- proxy_callback)); |
-} |
- |
void AttachmentServiceProxy::UploadAttachments( |
const AttachmentIdSet& attachment_ids) { |
DCHECK(wrapped_task_runner_.get()); |
@@ -120,15 +98,6 @@ void AttachmentServiceProxy::Core::GetOrDownloadAttachments( |
wrapped_->GetOrDownloadAttachments(attachment_ids, callback); |
} |
-void AttachmentServiceProxy::Core::DropAttachments( |
- const AttachmentIdList& attachment_ids, |
- const DropCallback& callback) { |
- if (!wrapped_) { |
- return; |
- } |
- wrapped_->DropAttachments(attachment_ids, callback); |
-} |
- |
void AttachmentServiceProxy::Core::UploadAttachments( |
const AttachmentIdSet& attachment_ids) { |
if (!wrapped_) { |