OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 8 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
10 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" | 10 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 ProvidedFileSystem(extensions::EventRouter* event_router, | 28 ProvidedFileSystem(extensions::EventRouter* event_router, |
29 const ProvidedFileSystemInfo& file_system_info); | 29 const ProvidedFileSystemInfo& file_system_info); |
30 virtual ~ProvidedFileSystem(); | 30 virtual ~ProvidedFileSystem(); |
31 | 31 |
32 // ProvidedFileSystemInterface overrides. | 32 // ProvidedFileSystemInterface overrides. |
33 virtual void RequestUnmount( | 33 virtual void RequestUnmount( |
34 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 34 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
35 virtual void GetMetadata( | 35 virtual void GetMetadata( |
36 const base::FilePath& entry_path, | 36 const base::FilePath& entry_path, |
37 const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) OVERRIDE; | 37 const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) OVERRIDE; |
| 38 virtual void ReadDirectory( |
| 39 const base::FilePath& directory_path, |
| 40 const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) OVERRIDE; |
38 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; | 41 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; |
39 virtual RequestManager* GetRequestManager() OVERRIDE; | 42 virtual RequestManager* GetRequestManager() OVERRIDE; |
40 | 43 |
41 private: | 44 private: |
42 extensions::EventRouter* event_router_; | 45 extensions::EventRouter* event_router_; |
43 RequestManager request_manager_; | 46 RequestManager request_manager_; |
44 ProvidedFileSystemInfo file_system_info_; | 47 ProvidedFileSystemInfo file_system_info_; |
45 | 48 |
46 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 49 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
47 }; | 50 }; |
48 | 51 |
49 } // namespace file_system_provider | 52 } // namespace file_system_provider |
50 } // namespace chromeos | 53 } // namespace chromeos |
51 | 54 |
52 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 55 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
OLD | NEW |