Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_ARC_FILE_SYSTEM_FAKE_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ | |
| 6 #define COMPONENTS_ARC_FILE_SYSTEM_FAKE_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "components/arc/file_system/arc_file_system_operation_runner.h" | |
| 10 | |
| 11 namespace arc { | |
| 12 | |
| 13 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
| |
| 14 public: | |
| 15 explicit FakeArcFileSystemOperationRunner(ArcBridgeService* bridge_service); | |
| 16 ~FakeArcFileSystemOperationRunner() override; | |
| 17 | |
| 18 // ArcFileSystemOperationRunner overrides. | |
| 19 void GetFileSize(const std::string& url, | |
| 20 const GetFileSizeCallback& callback) override; | |
| 21 void OpenFileToRead(const std::string& url, | |
| 22 const OpenFileToReadCallback& callback) override; | |
| 23 void GetDocument(const std::string& authority, | |
| 24 const std::string& document_id, | |
| 25 const GetDocumentCallback& callback) override; | |
| 26 void GetChildDocuments(const std::string& authority, | |
| 27 const std::string& parent_document_id, | |
| 28 const GetChildDocumentsCallback& callback) override; | |
| 29 | |
| 30 private: | |
| 31 DISALLOW_COPY_AND_ASSIGN(FakeArcFileSystemOperationRunner); | |
| 32 }; | |
| 33 | |
| 34 } // namespace arc | |
| 35 | |
| 36 #endif // COMPONENTS_ARC_FILE_SYSTEM_FAKE_ARC_FILE_SYSTEM_OPERATION_RUNNER_H_ | |
| OLD | NEW |