| 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 20 matching lines...) Expand all Loading... |
| 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( | 38 virtual void ReadDirectory( |
| 39 const base::FilePath& directory_path, | 39 const base::FilePath& directory_path, |
| 40 const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) OVERRIDE; | 40 const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) OVERRIDE; |
| 41 virtual void OpenFile( |
| 42 const base::FilePath& file_path, |
| 43 OpenFileMode mode, |
| 44 bool create, |
| 45 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 41 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; | 46 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; |
| 42 virtual RequestManager* GetRequestManager() OVERRIDE; | 47 virtual RequestManager* GetRequestManager() OVERRIDE; |
| 43 | 48 |
| 44 private: | 49 private: |
| 45 extensions::EventRouter* event_router_; | 50 extensions::EventRouter* event_router_; |
| 46 RequestManager request_manager_; | 51 RequestManager request_manager_; |
| 47 ProvidedFileSystemInfo file_system_info_; | 52 ProvidedFileSystemInfo file_system_info_; |
| 48 | 53 |
| 49 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 54 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
| 50 }; | 55 }; |
| 51 | 56 |
| 52 } // namespace file_system_provider | 57 } // namespace file_system_provider |
| 53 } // namespace chromeos | 58 } // namespace chromeos |
| 54 | 59 |
| 55 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 60 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
| OLD | NEW |