From d292409206bdfee695b72eae60279a15acb0acd8 Mon Sep 17 00:00:00 2001 From: "kinuko@chromium.org" Date: Tue, 5 Oct 2010 05:33:39 +0000 Subject: Support removeRecursively and new copy/move behaviors added to the spec recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. BUG=32277 TEST=FileSystemOperationTest.* Review URL: http://codereview.chromium.org/3567012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61480 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/blob/deletable_file_reference.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/blob') diff --git a/webkit/blob/deletable_file_reference.cc b/webkit/blob/deletable_file_reference.cc index b005eeb..9f49943 100644 --- a/webkit/blob/deletable_file_reference.cc +++ b/webkit/blob/deletable_file_reference.cc @@ -57,7 +57,7 @@ DeletableFileReference::DeletableFileReference( DeletableFileReference::~DeletableFileReference() { DCHECK(map()->find(path_)->second == this); map()->erase(path_); - base::FileUtilProxy::Delete(file_thread_, path_, NULL); + base::FileUtilProxy::Delete(file_thread_, path_, false /* recursive */, NULL); } } // namespace webkit_blob -- cgit v1.1