Chromium Code Reviews| Index: webkit/fileapi/file_system_operation.h |
| =================================================================== |
| --- webkit/fileapi/file_system_operation.h (revision 82028) |
| +++ webkit/fileapi/file_system_operation.h (working copy) |
| @@ -84,6 +84,7 @@ |
| const GURL& path, |
| int file_flags, |
| base::ProcessHandle peer_handle); |
| + void GetLocalPath(const GURL& path); |
| // Try to cancel the current operation [we support cancelling write or |
| // truncate only]. Report failure for the current operation, then tell the |
| @@ -138,6 +139,8 @@ |
| base::PlatformFileError rv, |
| base::PassPlatformFile file, |
| bool created); |
| + void DidGetLocalPath(base::PlatformFileError rv, |
| + const FilePath& local_path); |
| // Helper for Write(). |
| void OnFileOpenedForWrite( |
| @@ -195,6 +198,7 @@ |
| kOperationTouchFile, |
| kOperationOpenFile, |
| kOperationCancel, |
|
ericu
2011/04/19 23:36:19
Cancel should be last.
zel
2011/04/20 02:02:07
Done.
|
| + kOperationGetLocalPath, |
| }; |
| // A flag to make sure we call operation only once per instance. |