Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: webkit/fileapi/file_system_file_util.h

Issue 9564047: Add FileUtileHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: handle not found case Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/file_system_file_util.h
diff --git a/webkit/fileapi/file_system_file_util.h b/webkit/fileapi/file_system_file_util.h
index 1c76984d053ff2e5e3d65d62c55bf52a8a2d72d3..8079cd707f26753c503779e81f1cfdc09272f636 100644
--- a/webkit/fileapi/file_system_file_util.h
+++ b/webkit/fileapi/file_system_file_util.h
@@ -47,22 +47,6 @@ class FileSystemFileUtil {
virtual ~FileSystemFileUtil();
- // Deletes a file or a directory.
- // It is an error to delete a non-empty directory with recursive=false.
- //
- // This method calls one of the following methods depending on whether the
- // target is a directory or not, and whether the |recursive| flag is given or
- // not.
- // - (virtual) DeleteFile,
- // - (virtual) DeleteSingleDirectory or
- // - (non-virtual) DeleteDirectoryRecursive which calls two methods above.
- //
- // TODO(kinuko): Move this implementation outside FileSystemFileUtil.
- PlatformFileError Delete(
- FileSystemOperationContext* context,
- const FileSystemPath& path,
- bool recursive);
-
// Creates or opens a file with the given flags.
// If PLATFORM_FILE_CREATE is set in |file_flags| it always tries to create
// a new file at the given |path| and calls back with

Powered by Google App Engine
This is Rietveld 408576698