Index: webkit/fileapi/file_system_file_util_proxy.h |
diff --git a/webkit/fileapi/file_system_file_util_proxy.h b/webkit/fileapi/file_system_file_util_proxy.h |
index 903b821482041a69cb894c555aa5be25b3202e68..560ed6d1344b79811b3dead7d232bb7d85bcd35e 100644 |
--- a/webkit/fileapi/file_system_file_util_proxy.h |
+++ b/webkit/fileapi/file_system_file_util_proxy.h |
@@ -41,13 +41,18 @@ class FileSystemFileUtilProxy { |
FileSystemFileUtil::SnapshotFilePolicy snapshot_policy)> |
SnapshotFileCallback; |
- // Deletes a file or a directory on the given context's task_runner. |
- // It is an error to delete a non-empty directory with recursive=false. |
- static bool Delete( |
+ // Deletes a file on the given context's task_runner. |
+ static bool DeleteFile( |
+ FileSystemOperationContext* context, |
+ FileSystemFileUtil* file_util, |
+ const FileSystemURL& url, |
+ const StatusCallback& callback); |
+ |
+ // Deletes a directory on the given context's task_runner. |
+ static bool DeleteDirectory( |
FileSystemOperationContext* context, |
FileSystemFileUtil* file_util, |
const FileSystemURL& url, |
- bool recursive, |
const StatusCallback& callback); |
// Creates or opens a file with the given flags by calling |file_util|'s |