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

Unified Diff: components/sync/core/attachments/fake_attachment_uploader.h

Issue 2399953002: [Sync] Move attachments code out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
Index: components/sync/core/attachments/fake_attachment_uploader.h
diff --git a/components/sync/core/attachments/fake_attachment_uploader.h b/components/sync/core/attachments/fake_attachment_uploader.h
deleted file mode 100644
index f697bd5bdcf1cb4053f85403f1a085deebe6b4b1..0000000000000000000000000000000000000000
--- a/components/sync/core/attachments/fake_attachment_uploader.h
+++ /dev/null
@@ -1,31 +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.
-
-#ifndef COMPONENTS_SYNC_CORE_ATTACHMENTS_FAKE_ATTACHMENT_UPLOADER_H_
-#define COMPONENTS_SYNC_CORE_ATTACHMENTS_FAKE_ATTACHMENT_UPLOADER_H_
-
-#include "base/macros.h"
-#include "base/threading/non_thread_safe.h"
-#include "components/sync/core/attachments/attachment_uploader.h"
-
-namespace syncer {
-
-// A fake implementation of AttachmentUploader.
-class FakeAttachmentUploader : public AttachmentUploader,
- public base::NonThreadSafe {
- public:
- FakeAttachmentUploader();
- ~FakeAttachmentUploader() override;
-
- // AttachmentUploader implementation.
- void UploadAttachment(const Attachment& attachment,
- const UploadCallback& callback) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FakeAttachmentUploader);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_FAKE_ATTACHMENT_UPLOADER_H_

Powered by Google App Engine
This is Rietveld 408576698