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

Issue 3567012: Support removeRecursively and new copy/move behaviors for FileSystem API (Closed)

Created:
10 years, 2 months ago by kinuko
Modified:
9 years, 7 months ago
Reviewers:
ericu, Kavita Kanetkar, dumi
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr., ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

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.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61480

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -114 lines) Patch
M base/file_util_proxy.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M base/file_util_proxy.cc View 1 2 3 5 chunks +68 lines, -57 lines 0 comments Download
M base/platform_file.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/file_system/file_system_dispatcher_host.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/file_system/file_system_dispatcher.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/file_system/file_system_dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/file_system/webfilesystem_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/file_system/webfilesystem_impl.cc View 1 2 chunks +10 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/blob/deletable_file_reference.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_operation.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M webkit/fileapi/file_system_operation.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_operation_unittest.cc View 1 2 3 15 chunks +203 lines, -35 lines 0 comments Download
M webkit/glue/webkit_glue.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Kavita Kanetkar
LGTM Thanks for adding those test cases. http://codereview.chromium.org/3567012/diff/1/2 File base/file_util_proxy.cc (right): http://codereview.chromium.org/3567012/diff/1/2#newcode45 base/file_util_proxy.cc:45: // It ...
10 years, 2 months ago (2010-10-04 23:35:10 UTC) #1
kinuko
Thanks! Updated. http://codereview.chromium.org/3567012/diff/1/2 File base/file_util_proxy.cc (right): http://codereview.chromium.org/3567012/diff/1/2#newcode45 base/file_util_proxy.cc:45: // It is an error to copy/move ...
10 years, 2 months ago (2010-10-04 23:50:05 UTC) #2
ericu
http://codereview.chromium.org/3567012/diff/6001/7001 File base/file_util_proxy.cc (right): http://codereview.chromium.org/3567012/diff/6001/7001#newcode22 base/file_util_proxy.cc:22: // Neither |dest_file_path| nor its parent exist. Do we ...
10 years, 2 months ago (2010-10-05 01:14:03 UTC) #3
kinuko
http://codereview.chromium.org/3567012/diff/6001/7001 File base/file_util_proxy.cc (right): http://codereview.chromium.org/3567012/diff/6001/7001#newcode22 base/file_util_proxy.cc:22: // Neither |dest_file_path| nor its parent exist. On 2010/10/05 ...
10 years, 2 months ago (2010-10-05 02:29:39 UTC) #4
ericu
http://codereview.chromium.org/3567012/diff/3002/29015 File webkit/fileapi/file_system_operation_unittest.cc (right): http://codereview.chromium.org/3567012/diff/3002/29015#newcode118 webkit/fileapi/file_system_operation_unittest.cc:118: operation()->Copy(src_dir.path(), dest_dir_path); This was a move test, and now ...
10 years, 2 months ago (2010-10-05 02:46:31 UTC) #5
kinuko
http://codereview.chromium.org/3567012/diff/3002/29015 File webkit/fileapi/file_system_operation_unittest.cc (right): http://codereview.chromium.org/3567012/diff/3002/29015#newcode118 webkit/fileapi/file_system_operation_unittest.cc:118: operation()->Copy(src_dir.path(), dest_dir_path); On 2010/10/05 02:46:32, ericu wrote: > This ...
10 years, 2 months ago (2010-10-05 03:16:11 UTC) #6
ericu
10 years, 2 months ago (2010-10-05 04:20:11 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698