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

Unified Diff: components/arc/file_system/test/fake_arc_file_system_operation_runner.h

Issue 2651883003: Clean up ARC file system unit tests. (Closed)
Patch Set: Rebased. Created 3 years, 11 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/arc/file_system/test/fake_arc_file_system_operation_runner.h
diff --git a/components/arc/file_system/test/fake_arc_file_system_operation_runner.h b/components/arc/file_system/test/fake_arc_file_system_operation_runner.h
deleted file mode 100644
index 017b5083ec14b95caf3eeb74c47e4451da964d12..0000000000000000000000000000000000000000
--- a/components/arc/file_system/test/fake_arc_file_system_operation_runner.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2017 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_ARC_FILE_SYSTEM_FAKE_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_
-#define COMPONENTS_ARC_FILE_SYSTEM_FAKE_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_
-
-#include "base/macros.h"
-#include "components/arc/file_system/arc_file_system_operation_runner.h"
-
-namespace arc {
-
-// TODO(crbug.com/683049): Implement a generic fake.
-class FakeArcFileSystemOperationRunner : public ArcFileSystemOperationRunner {
- public:
- explicit FakeArcFileSystemOperationRunner(ArcBridgeService* bridge_service);
- ~FakeArcFileSystemOperationRunner() override;
-
- // ArcFileSystemOperationRunner overrides.
- void GetFileSize(const GURL& url,
- const GetFileSizeCallback& callback) override;
- void OpenFileToRead(const GURL& url,
- const OpenFileToReadCallback& callback) override;
- void GetDocument(const std::string& authority,
- const std::string& document_id,
- const GetDocumentCallback& callback) override;
- void GetChildDocuments(const std::string& authority,
- const std::string& parent_document_id,
- const GetChildDocumentsCallback& callback) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FakeArcFileSystemOperationRunner);
-};
-
-} // namespace arc
-
-#endif // COMPONENTS_ARC_FILE_SYSTEM_FAKE_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_

Powered by Google App Engine
This is Rietveld 408576698