Chromium Code Reviews| Index: webkit/fileapi/file_system_file_util_proxy.h |
| =================================================================== |
| --- webkit/fileapi/file_system_file_util_proxy.h (revision 82028) |
| +++ webkit/fileapi/file_system_file_util_proxy.h (working copy) |
| @@ -40,6 +40,9 @@ |
| const PlatformFileInfo& /* file_info */, |
| const FilePath& /* platform_path, where possible */ |
| >::Type GetFileInfoCallback; |
| + typedef Callback2<PlatformFileError /* error code */, |
| + const FilePath& /* local_path, where possible */ |
| + >::Type GetGetLocalPath; |
|
ericu
2011/04/19 20:30:49
s/GetGetLocalPath/GetLocalPathCallback/
zel
2011/04/19 23:14:00
Done.
|
| typedef base::FileUtilProxy::ReadDirectoryCallback ReadDirectoryCallback; |
| // Creates or opens a file with the given flags. It is invalid to pass NULL |
| @@ -76,6 +79,14 @@ |
| // Retrieves the information about a file. It is invalid to pass NULL for the |
|
ericu
2011/04/19 20:30:49
Same here--"Retrieves the information..." is way t
zel
2011/04/19 23:14:00
Done.
|
| // callback. |
| + static bool GetLocalPath( |
| + const FileSystemOperationContext& context, |
| + scoped_refptr<MessageLoopProxy> message_loop_proxy, |
| + const FilePath& virtual_path, |
| + GetGetLocalPath* callback); |
| + |
| + // Retrieves the information about a file. It is invalid to pass NULL for the |
| + // callback. |
| static bool GetFileInfo( |
| const FileSystemOperationContext& context, |
| scoped_refptr<MessageLoopProxy> message_loop_proxy, |