Index: base/files/file_util_proxy.h |
diff --git a/base/files/file_util_proxy.h b/base/files/file_util_proxy.h |
index 56d1f772c29d327a178dcd26a6cd09781712ecdf..bded161200511eeb994c3305cff0ae3af2b6f4bd 100644 |
--- a/base/files/file_util_proxy.h |
+++ b/base/files/file_util_proxy.h |
@@ -96,17 +96,10 @@ class BASE_EXPORT FileUtilProxy { |
// Deletes a file or a directory. |
// It is an error to delete a non-empty directory with recursive=false. |
// This returns false if task posting to |task_runner| has failed. |
- static bool Delete(TaskRunner* task_runner, |
- const FilePath& file_path, |
- bool recursive, |
- const StatusCallback& callback); |
- |
- // Deletes a directory and all of its contents. |
- // This returns false if task posting to |task_runner| has failed. |
- static bool RecursiveDelete( |
- TaskRunner* task_runner, |
- const FilePath& file_path, |
- const StatusCallback& callback); |
+ static bool DeleteFile(TaskRunner* task_runner, |
+ const FilePath& file_path, |
+ bool recursive, |
+ const StatusCallback& callback); |
// Reads from a file. On success, the file pointer is moved to position |
// |offset + bytes_to_read| in the file. The callback can be null. |