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

Issue 7608011: Simplify directory path accounting. (Closed)

Created:
9 years, 4 months ago by ericu
Modified:
9 years, 4 months ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, Paweł Hajdan Jr., michaeln, tzik
Visibility:
Public.

Description

Simplify directory path accounting. BUG=none TEST=existing test_shell_tests plus a new OFSFU test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97522

Patch Set 1 #

Patch Set 2 : All tests passing. #

Patch Set 3 : Comment fixes and test code tweaks. #

Patch Set 4 : Check for quota *before* operation, update it after. Breaks some tests. #

Patch Set 5 : Fixed OFSFU tests. #

Patch Set 6 : Fixed cross-FS-copy-move tests. All tests pass now. #

Patch Set 7 : Add new test for path quotas. #

Patch Set 8 : Comment tweaks #

Patch Set 9 : fix signed/unsigned issue #

Patch Set 10 : Fix windows build problem. #

Total comments: 17

Patch Set 11 : Most feedback rolled in. More tests needed. #

Total comments: 6

Patch Set 12 : Added the missing tests. #

Patch Set 13 : Copy quota changes back from cloned context. #

Patch Set 14 : Merged out. #

Total comments: 4

Patch Set 15 : Fixed windows problems; one test still failing. #

Patch Set 16 : Fixed quota tests. #

Patch Set 17 : Rolled in CR feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+972 lines, -892 lines) Patch
M webkit/fileapi/file_system_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +35 lines, -42 lines 0 comments Download
M webkit/fileapi/file_system_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -18 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -18 lines 0 comments Download
M webkit/fileapi/file_system_quota_client_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +12 lines, -5 lines 0 comments Download
M webkit/fileapi/file_system_quota_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +38 lines, -135 lines 0 comments Download
M webkit/fileapi/file_system_quota_util.h View 2 chunks +2 lines, -3 lines 0 comments Download
M webkit/fileapi/file_system_test_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -15 lines 0 comments Download
M webkit/fileapi/file_system_usage_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M webkit/fileapi/file_writer_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 11 chunks +28 lines, -55 lines 0 comments Download
M webkit/fileapi/obfuscated_file_system_file_util.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/fileapi/obfuscated_file_system_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 17 chunks +97 lines, -13 lines 0 comments Download
M webkit/fileapi/obfuscated_file_system_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 43 chunks +458 lines, -118 lines 0 comments Download
M webkit/fileapi/quota_file_util.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -42 lines 0 comments Download
M webkit/fileapi/quota_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +32 lines, -190 lines 0 comments Download
M webkit/fileapi/quota_file_util_unittest.cc View 1 2 3 4 5 6 7 4 chunks +243 lines, -232 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.h View 2 chunks +0 lines, -2 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ericu
This is now ready for review, and I've just kicked off some try jobs. Dai, ...
9 years, 4 months ago (2011-08-11 21:53:49 UTC) #1
Dai Mikurube (NOT FULLTIME)
Thank you for working on it, Eric. The basic logic looks good to me though ...
9 years, 4 months ago (2011-08-12 05:17:54 UTC) #2
kinuko
(Style nits only) http://codereview.chromium.org/7608011/diff/11033/webkit/fileapi/obfuscated_file_system_file_util.cc File webkit/fileapi/obfuscated_file_system_file_util.cc (right): http://codereview.chromium.org/7608011/diff/11033/webkit/fileapi/obfuscated_file_system_file_util.cc#newcode57 webkit/fileapi/obfuscated_file_system_file_util.cc:57: int growthInNumberOfPaths, growth_in_number_of_paths? You seem to ...
9 years, 4 months ago (2011-08-15 03:42:34 UTC) #3
ericu
I've rolled in most of the feedback, as commented inline. I still need to add ...
9 years, 4 months ago (2011-08-15 23:47:10 UTC) #4
Dai Mikurube (NOT FULLTIME)
Thank you. http://codereview.chromium.org/7608011/diff/11033/webkit/fileapi/file_system_file_util.cc File webkit/fileapi/file_system_file_util.cc (right): http://codereview.chromium.org/7608011/diff/11033/webkit/fileapi/file_system_file_util.cc#newcode384 webkit/fileapi/file_system_file_util.cc:384: dest_file_path_each, false, false); On 2011/08/15 23:47:10, ericu ...
9 years, 4 months ago (2011-08-16 05:11:00 UTC) #5
ericu
I've rolled in the remaining feedback and added all the new tests. However, I still ...
9 years, 4 months ago (2011-08-16 21:16:31 UTC) #6
Dai Mikurube (NOT FULLTIME)
http://codereview.chromium.org/7608011/diff/25002/webkit/fileapi/file_system_file_util.cc File webkit/fileapi/file_system_file_util.cc (right): http://codereview.chromium.org/7608011/diff/25002/webkit/fileapi/file_system_file_util.cc#newcode379 webkit/fileapi/file_system_file_util.cc:379: dest_file_path_each, false, false); The dest_context should be reflected back ...
9 years, 4 months ago (2011-08-18 12:00:10 UTC) #7
ericu
I think this is ready to go. I've kicked off some more try jobs to ...
9 years, 4 months ago (2011-08-18 22:30:36 UTC) #8
Dai Mikurube (NOT FULLTIME)
On 2011/08/18 22:30:36, ericu wrote: > I think this is ready to go. > I've ...
9 years, 4 months ago (2011-08-19 10:12:29 UTC) #9
commit-bot: I haz the power
9 years, 4 months ago (2011-08-19 22:37:20 UTC) #10
Change committed as 97522

Powered by Google App Engine
This is Rietveld 408576698