| 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 654fbf913f0a794dc24b9959b6a381ea5b6486ee..955cd1bd31e79eea0fa7f4762f9fe7c5237c51f3 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
|
|
|