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

Unified Diff: sync/internal_api/public/attachments/fake_attachment_downloader.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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: sync/internal_api/public/attachments/fake_attachment_downloader.h
diff --git a/sync/internal_api/public/attachments/fake_attachment_downloader.h b/sync/internal_api/public/attachments/fake_attachment_downloader.h
deleted file mode 100644
index f590711b5aeba5f6b77ccc6bda3a0dde92074fca..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/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 SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_FAKE_ATTACHMENT_DOWNLOADER_H_
-#define SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_FAKE_ATTACHMENT_DOWNLOADER_H_
-
-#include "base/macros.h"
-#include "base/threading/non_thread_safe.h"
-#include "sync/internal_api/public/attachments/attachment_downloader.h"
-
-namespace syncer {
-
-// FakeAttachmentDownloader is for tests. For every request it posts a success
-// callback with empty attachment.
-class SYNC_EXPORT 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 // SYNC_INTERNAL_API_PUBLIC_ATTACHMENTS_FAKE_ATTACHMENT_DOWNLOADER_H_

Powered by Google App Engine
This is Rietveld 408576698