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

Issue 7312023: Refactoring: Change all -FileUtils non-Singleton and to own underlying FileUtils. (Closed)

Created:
9 years, 5 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Erik does not do reviews, achuith+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., kinuko+watch
Visibility:
Public.

Description

Refactoring: Change all -FileUtils non-Singleton and to own underlying FileUtils. Based on the discussion at http://codereview.chromium.org/7174002/diff/26001/webkit/fileapi/local_file_system_file_util.h#newcode38, this change * also reduces dependency between FileUtils, * enables more flexible stacking of -FileUtils, such as QuotaFileUtil over other -FileUtils, and * makes -FileUtils symmetry so owner handling for these objects gets unified. BUG=none TEST=FileSystemFileUtilTest.*,FileSystemOperationTest.*,FileSystemOperationWriteTest.*,FileSystemQuotaTest.*,FileWriterDelegateTest.*,LocalFileSystemFileUtilTest.*,ObfuscatedFileSystemFileUtil.*,QuotaFileUtil.*,SandboxMountPointProviderTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94251

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Rebased and updated. #

Patch Set 4 : Modified comments and eliminated an unnecessary FileSystemFileUtil calling. #

Patch Set 5 : Rebased. #

Patch Set 6 : Rebased and some fixes for rebasing. #

Total comments: 2

Patch Set 7 : Reflected the comments and rebased. #

Total comments: 4

Patch Set 8 : Reflected the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -125 lines) Patch
M chrome/browser/extensions/extension_file_browser_private_api.cc View 1 2 3 4 5 1 chunk +4 lines, -9 lines 0 comments Download
M webkit/chromeos/fileapi/cros_mount_point_provider.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_file_util.h View 4 chunks +2 lines, -6 lines 0 comments Download
M webkit/fileapi/file_system_file_util.cc View 1 2 3 4 5 2 chunks +0 lines, -6 lines 0 comments Download
M webkit/fileapi/file_system_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_operation_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_operation_write_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_quota_client_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_quota_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_writer_delegate_unittest.cc View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download
M webkit/fileapi/local_file_system_file_util.h View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M webkit/fileapi/local_file_system_file_util.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/fileapi/local_file_system_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/obfuscated_file_system_file_util.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M webkit/fileapi/obfuscated_file_system_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/quota_file_util.h View 1 2 3 4 5 6 7 4 chunks +18 lines, -9 lines 0 comments Download
M webkit/fileapi/quota_file_util.cc View 1 2 3 4 5 6 8 chunks +22 lines, -15 lines 0 comments Download
M webkit/fileapi/quota_file_util_unittest.cc View 1 2 3 4 5 6 18 chunks +63 lines, -63 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Dai Mikurube (NOT FULLTIME)
This patch is to change all FileUtils (including FileSystemFileUtil and QuotaFileUtil) non-SIngleton. Their underlying FileUtils ...
9 years, 5 months ago (2011-07-08 07:55:35 UTC) #1
Dai Mikurube (NOT FULLTIME)
Updated.
9 years, 5 months ago (2011-07-11 06:49:45 UTC) #2
Dai Mikurube (NOT FULLTIME)
Updated.
9 years, 5 months ago (2011-07-26 04:58:06 UTC) #3
kinuko
Could we file a bug and have a brief bigger plan in it (like the ...
9 years, 5 months ago (2011-07-26 06:00:35 UTC) #4
Dai Mikurube (NOT FULLTIME)
Thank you. This change is a kind of independent from the bigger plan of refactoring ...
9 years, 5 months ago (2011-07-26 06:52:46 UTC) #5
kinuko
lgtm except for nits http://codereview.chromium.org/7312023/diff/15003/webkit/fileapi/quota_file_util.h File webkit/fileapi/quota_file_util.h (right): http://codereview.chromium.org/7312023/diff/15003/webkit/fileapi/quota_file_util.h#newcode17 webkit/fileapi/quota_file_util.h:17: static const int64 kNoLimit; style-nit: ...
9 years, 5 months ago (2011-07-26 09:48:57 UTC) #6
Dai Mikurube (NOT FULLTIME)
http://codereview.chromium.org/7312023/diff/15003/webkit/fileapi/quota_file_util.h File webkit/fileapi/quota_file_util.h (right): http://codereview.chromium.org/7312023/diff/15003/webkit/fileapi/quota_file_util.h#newcode17 webkit/fileapi/quota_file_util.h:17: static const int64 kNoLimit; On 2011/07/26 09:48:57, kinuko wrote: ...
9 years, 5 months ago (2011-07-26 10:19:11 UTC) #7
kinuko
still lgtm just in case you're waiting another one. On 2011/07/26 10:19:11, Dai Mikurube wrote: ...
9 years, 5 months ago (2011-07-27 03:28:20 UTC) #8
Dai Mikurube (NOT FULLTIME)
Thanks, I've checked "Commit"! On 2011/07/27 03:28:20, kinuko wrote: > still lgtm just in case ...
9 years, 5 months ago (2011-07-27 03:50:31 UTC) #9
commit-bot: I haz the power
9 years, 5 months ago (2011-07-27 06:06:45 UTC) #10
Change committed as 94251

Powered by Google App Engine
This is Rietveld 408576698