diff options
Diffstat (limited to 'webkit/fileapi/file_system_file_util_proxy.h')
-rw-r--r-- | webkit/fileapi/file_system_file_util_proxy.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_file_util_proxy.h b/webkit/fileapi/file_system_file_util_proxy.h index de4b320..e376314 100644 --- a/webkit/fileapi/file_system_file_util_proxy.h +++ b/webkit/fileapi/file_system_file_util_proxy.h @@ -40,6 +40,9 @@ class FileSystemFileUtilProxy { const PlatformFileInfo& /* file_info */, const FilePath& /* platform_path, where possible */ >::Type GetFileInfoCallback; + typedef Callback2<PlatformFileError /* error code */, + const FilePath& /* local_path, where possible */ + >::Type GetLocalPathCallback; typedef base::FileUtilProxy::ReadDirectoryCallback ReadDirectoryCallback; // Creates or opens a file with the given flags. It is invalid to pass NULL @@ -74,6 +77,13 @@ class FileSystemFileUtilProxy { const FilePath& file_path, EnsureFileExistsCallback* callback); + // Maps virtual file patch to its local physical location. + static bool GetLocalPath( + const FileSystemOperationContext& context, + scoped_refptr<MessageLoopProxy> message_loop_proxy, + const FilePath& virtual_path, + GetLocalPathCallback* callback); + // Retrieves the information about a file. It is invalid to pass NULL for the // callback. static bool GetFileInfo( |