| 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_INTERF
ACE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ |
| 7 | 7 |
| 8 #include "webkit/browser/fileapi/async_file_util.h" | 8 #include "webkit/browser/fileapi/async_file_util.h" |
| 9 | 9 |
| 10 class EventRouter; | 10 class EventRouter; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 virtual ~ProvidedFileSystemInterface() {} | 23 virtual ~ProvidedFileSystemInterface() {} |
| 24 | 24 |
| 25 // Requests unmounting of the file system. The callback is called when the | 25 // Requests unmounting of the file system. The callback is called when the |
| 26 // request is accepted or rejected, with an error code. Returns false if the | 26 // request is accepted or rejected, with an error code. Returns false if the |
| 27 // request could not been created, true otherwise. | 27 // request could not been created, true otherwise. |
| 28 virtual bool RequestUnmount( | 28 virtual bool RequestUnmount( |
| 29 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; | 29 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
| 30 | 30 |
| 31 // Returns a provided file system info for this file system. | 31 // Returns a provided file system info for this file system. |
| 32 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; | 32 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; |
| 33 |
| 34 // Returns a request manager for the file system. |
| 35 virtual RequestManager* GetRequestManager() = 0; |
| 33 }; | 36 }; |
| 34 | 37 |
| 35 } // namespace file_system_provider | 38 } // namespace file_system_provider |
| 36 } // namespace chromeos | 39 } // namespace chromeos |
| 37 | 40 |
| 38 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INT
ERFACE_H_ | 41 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INT
ERFACE_H_ |
| OLD | NEW |