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

Unified Diff: components/sync/core/attachments/fake_attachment_downloader.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_downloader.h
diff --git a/components/sync/core/attachments/fake_attachment_downloader.h b/components/sync/core/attachments/fake_attachment_downloader.h
deleted file mode 100644
index 68a224af5dad76ff295d9f05d5b14bacbbb06810..0000000000000000000000000000000000000000
--- a/components/sync/core/attachments/fake_attachment_downloader.h
+++ /dev/null
@@ -1,32 +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_DOWNLOADER_H_
-#define COMPONENTS_SYNC_CORE_ATTACHMENTS_FAKE_ATTACHMENT_DOWNLOADER_H_
-
-#include "base/macros.h"
-#include "base/threading/non_thread_safe.h"
-#include "components/sync/core/attachments/attachment_downloader.h"
-
-namespace syncer {
-
-// FakeAttachmentDownloader is for tests. For every request it posts a success
-// callback with empty attachment.
-class FakeAttachmentDownloader : public AttachmentDownloader,
- public base::NonThreadSafe {
- public:
- FakeAttachmentDownloader();
- ~FakeAttachmentDownloader() override;
-
- // AttachmentDownloader implementation.
- void DownloadAttachment(const AttachmentId& attachment_id,
- const DownloadCallback& callback) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FakeAttachmentDownloader);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_ATTACHMENTS_FAKE_ATTACHMENT_DOWNLOADER_H_
« no previous file with comments | « components/sync/core/attachments/attachment_util.h ('k') | components/sync/core/attachments/fake_attachment_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698