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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8805fa4afe1aa100e6ec23166cc5196db7213b2c |
--- /dev/null |
+++ b/components/arc/file_system/test/fake_arc_file_system_operation_runner.h |
@@ -0,0 +1,36 @@ |
+// 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 { |
+ |
+class FakeArcFileSystemOperationRunner : public ArcFileSystemOperationRunner { |
hidehiko
2017/01/20 08:01:49
Similar to my comment for FakeArcFileSystemInstanc
Shuhei Takahashi
2017/01/20 09:13:04
Makes sense. Added a TODO here and other unit test
|
+ public: |
+ explicit FakeArcFileSystemOperationRunner(ArcBridgeService* bridge_service); |
+ ~FakeArcFileSystemOperationRunner() override; |
+ |
+ // ArcFileSystemOperationRunner overrides. |
+ void GetFileSize(const std::string& url, |
+ const GetFileSizeCallback& callback) override; |
+ void OpenFileToRead(const std::string& 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_ |