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 14 matching lines...) Expand all Loading... |
25 // clients. | 25 // clients. |
26 class ProvidedFileSystem : public ProvidedFileSystemInterface { | 26 class ProvidedFileSystem : public ProvidedFileSystemInterface { |
27 public: | 27 public: |
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( |
| 36 const base::FilePath& entry_path, |
| 37 const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) OVERRIDE; |
35 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; | 38 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; |
36 virtual RequestManager* GetRequestManager() OVERRIDE; | 39 virtual RequestManager* GetRequestManager() OVERRIDE; |
37 | 40 |
38 private: | 41 private: |
39 extensions::EventRouter* event_router_; | 42 extensions::EventRouter* event_router_; |
40 RequestManager request_manager_; | 43 RequestManager request_manager_; |
41 ProvidedFileSystemInfo file_system_info_; | 44 ProvidedFileSystemInfo file_system_info_; |
42 | 45 |
43 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 46 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
44 }; | 47 }; |
45 | 48 |
46 } // namespace file_system_provider | 49 } // namespace file_system_provider |
47 } // namespace chromeos | 50 } // namespace chromeos |
48 | 51 |
49 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 52 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
OLD | NEW |