Chromium Code Reviews| Index: webkit/fileapi/file_system_file_util.h |
| =================================================================== |
| --- webkit/fileapi/file_system_file_util.h (revision 82028) |
| +++ webkit/fileapi/file_system_file_util.h (working copy) |
| @@ -13,6 +13,7 @@ |
| #include "base/memory/singleton.h" |
| #include "base/platform_file.h" |
| #include "base/tracked_objects.h" |
| +#include "webkit/fileapi/file_system_types.h" |
| namespace base { |
| struct PlatformFileInfo; |
| @@ -24,7 +25,6 @@ |
| using base::PlatformFile; |
| using base::PlatformFileError; |
| - |
| class FileSystemOperationContext; |
| // A large part of this implementation is taken from base::FileUtilProxy. |
| @@ -64,6 +64,13 @@ |
| FileSystemOperationContext* context, |
| const FilePath& file_path, bool* created); |
| + // Maps |virtual_file| given |context| into |local_path| which represents |
| + // phyisical file location on the host OS. |
|
ericu
2011/04/19 20:30:49
Add comment that this may not always make sense fo
zel
2011/04/19 23:14:00
Done.
|
| + virtual PlatformFileError GetLocalFilePath( |
| + FileSystemOperationContext* context, |
| + const FilePath& virtual_file, |
|
ericu
2011/04/19 20:30:49
s/virtual_file/virtual_path/
zel
2011/04/19 23:14:00
Done.
|
| + FilePath* local_path); |
| + |
| // Retrieves the information about a file. It is invalid to pass NULL for the |
| // callback. |
| virtual PlatformFileError GetFileInfo( |