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

Issue 9564047: Add FileUtileHelper (Closed)

Created:
8 years, 9 months ago by tzik
Modified:
8 years, 9 months ago
Reviewers:
kinuko
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org
Visibility:
Public.

Description

Add FileUtileHelper and split out FileSystemFileUtil::Delete BUG=114732 TEST='existing tests' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124824

Patch Set 1 #

Total comments: 2

Patch Set 2 : Replace FileSystemFileUtil::Delete #

Patch Set 3 : flatten #

Patch Set 4 : rebase and build fix #

Patch Set 5 : handle not found case #

Total comments: 4

Patch Set 6 : function to static method, s/file_util_delete_helper/file_util_helper/ #

Patch Set 7 : add comment #

Total comments: 2

Patch Set 8 : s/DeletePath/Delete/g #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -100 lines) Patch
M webkit/fileapi/cross_file_util_helper.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_file_util.h View 1 2 3 4 5 2 chunks +0 lines, -29 lines 0 comments Download
M webkit/fileapi/file_system_file_util.cc View 1 2 chunks +0 lines, -47 lines 0 comments Download
M webkit/fileapi/file_system_file_util_proxy.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_file_util_proxy.cc View 1 2 3 4 5 6 7 6 chunks +12 lines, -13 lines 0 comments Download
A webkit/fileapi/file_util_helper.h View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
A webkit/fileapi/file_util_helper.cc View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
M webkit/fileapi/obfuscated_file_util_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M webkit/fileapi/quota_file_util_unittest.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -6 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tzik
Moving FileSystemFileUtil::Delete out (not completed). Could you take a look?
8 years, 9 months ago (2012-03-02 02:37:01 UTC) #1
kinuko
Can we get rid of FileSystemFileUtil::Delete? Maybe we could have a convenient static entry method ...
8 years, 9 months ago (2012-03-02 05:25:16 UTC) #2
tzik
Done for FileSystemFileUtil::Delete. The static method sounds good, but after that, its instance seems not ...
8 years, 9 months ago (2012-03-02 19:09:09 UTC) #3
kinuko
http://codereview.chromium.org/9564047/diff/7022/webkit/fileapi/file_system_file_util.h File webkit/fileapi/file_system_file_util.h (right): http://codereview.chromium.org/9564047/diff/7022/webkit/fileapi/file_system_file_util.h#newcode190 webkit/fileapi/file_system_file_util.h:190: PlatformFileError DeleteDirectoryRecursive( Should this be also removed? http://codereview.chromium.org/9564047/diff/7022/webkit/fileapi/file_util_delete_helper.h File ...
8 years, 9 months ago (2012-03-02 19:29:22 UTC) #4
tzik
http://codereview.chromium.org/9564047/diff/7022/webkit/fileapi/file_system_file_util.h File webkit/fileapi/file_system_file_util.h (right): http://codereview.chromium.org/9564047/diff/7022/webkit/fileapi/file_system_file_util.h#newcode190 webkit/fileapi/file_system_file_util.h:190: PlatformFileError DeleteDirectoryRecursive( On 2012/03/02 19:29:22, kinuko wrote: > Should ...
8 years, 9 months ago (2012-03-02 21:25:47 UTC) #5
kinuko
LGTM except for the naming nits. http://codereview.chromium.org/9564047/diff/5016/webkit/fileapi/cross_file_util_helper.cc File webkit/fileapi/cross_file_util_helper.cc (right): http://codereview.chromium.org/9564047/diff/5016/webkit/fileapi/cross_file_util_helper.cc#newcode147 webkit/fileapi/cross_file_util_helper.cc:147: FileUtilHelper::DeletePath(context_, src_util_, Now ...
8 years, 9 months ago (2012-03-02 22:46:29 UTC) #6
tzik
Thanks. I'll put it in CQ after try job. http://codereview.chromium.org/9564047/diff/5016/webkit/fileapi/cross_file_util_helper.cc File webkit/fileapi/cross_file_util_helper.cc (right): http://codereview.chromium.org/9564047/diff/5016/webkit/fileapi/cross_file_util_helper.cc#newcode147 webkit/fileapi/cross_file_util_helper.cc:147: ...
8 years, 9 months ago (2012-03-02 22:59:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/9564047/9003
8 years, 9 months ago (2012-03-03 00:14:30 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-03 02:09:14 UTC) #9
Change committed as 124824

Powered by Google App Engine
This is Rietveld 408576698