summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_operation.h
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 21:44:35 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 21:44:35 +0000
commitc27a5ed3f25971f028dd1baedd73efb59497ceeb (patch)
tree178dbc2db3eec96e696277ffff66effe3281e502 /webkit/fileapi/file_system_operation.h
parent5e0eb3c58f459bdf9b42d8666a7fef4f475224c5 (diff)
downloadchromium_src-c27a5ed3f25971f028dd1baedd73efb59497ceeb.zip
chromium_src-c27a5ed3f25971f028dd1baedd73efb59497ceeb.tar.gz
chromium_src-c27a5ed3f25971f028dd1baedd73efb59497ceeb.tar.bz2
Revert 61613 - possible culprit for valgrind error. (Support removeRecursively and new copy/move)
BUG=none TEST=none Review URL: http://codereview.chromium.org/3576017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_operation.h')
-rw-r--r--webkit/fileapi/file_system_operation.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_operation.h b/webkit/fileapi/file_system_operation.h
index ba65b7d..ab6d56c 100644
--- a/webkit/fileapi/file_system_operation.h
+++ b/webkit/fileapi/file_system_operation.h
@@ -45,6 +45,9 @@ class FileSystemOperation {
void Copy(const FilePath& src_path,
const FilePath& dest_path);
+ // If |dest_path| exists and is a directory, behavior is unspecified or
+ // varies for different platforms. TODO(kkanetkar): Fix this as per spec
+ // when it is addressed in spec.
void Move(const FilePath& src_path,
const FilePath& dest_path);
@@ -56,7 +59,7 @@ class FileSystemOperation {
void ReadDirectory(const FilePath& path);
- void Remove(const FilePath& path, bool recursive);
+ void Remove(const FilePath& path);
void Write(const FilePath& path, const GURL& blob_url, int64 offset);