Index: sync/internal_api/attachments/fake_attachment_uploader.cc |
diff --git a/sync/internal_api/attachments/fake_attachment_uploader.cc b/sync/internal_api/attachments/fake_attachment_uploader.cc |
deleted file mode 100644 |
index 3ffaee86fda4ca91878f5e6c5f29b2ac8a0d53b1..0000000000000000000000000000000000000000 |
--- a/sync/internal_api/attachments/fake_attachment_uploader.cc |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "sync/internal_api/public/attachments/fake_attachment_uploader.h" |
- |
-#include "base/bind.h" |
-#include "base/location.h" |
-#include "base/single_thread_task_runner.h" |
-#include "base/threading/thread_task_runner_handle.h" |
-#include "sync/api/attachments/attachment.h" |
-#include "sync/protocol/sync.pb.h" |
- |
-namespace syncer { |
- |
-FakeAttachmentUploader::FakeAttachmentUploader() { |
- DCHECK(CalledOnValidThread()); |
-} |
- |
-FakeAttachmentUploader::~FakeAttachmentUploader() { |
- DCHECK(CalledOnValidThread()); |
-} |
- |
-void FakeAttachmentUploader::UploadAttachment(const Attachment& attachment, |
- const UploadCallback& callback) { |
- DCHECK(CalledOnValidThread()); |
- DCHECK(!attachment.GetId().GetProto().unique_id().empty()); |
- |
- UploadResult result = UPLOAD_SUCCESS; |
- AttachmentId id = attachment.GetId(); |
- base::ThreadTaskRunnerHandle::Get()->PostTask( |
- FROM_HERE, base::Bind(callback, result, id)); |
-} |
- |
-} // namespace syncer |