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

Side by Side Diff: components/arc/file_system/test/fake_arc_file_system_operation_runner.h

Issue 2637163002: Defer ARC file system operations while ARC is booting. (Closed)
Patch Set: Review ready. 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698