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

Issue 126179: Disk cache: First pass to add support for sparse entries.... (Closed)

Created:
11 years, 6 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Disk cache: First pass to add support for sparse entries. Adding Read/Write support. BUG=12258 TEST=unittests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18723

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 13

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1593 lines, -14 lines) Patch
M net/base/io_buffer.h View 1 2 3 1 chunk +37 lines, -2 lines 0 comments Download
M net/base/io_buffer.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A net/disk_cache/bitmap.h View 1 2 3 1 chunk +153 lines, -0 lines 0 comments Download
A net/disk_cache/bitmap.cc View 1 2 3 1 chunk +272 lines, -0 lines 0 comments Download
A net/disk_cache/bitmap_unittest.cc View 1 2 1 chunk +293 lines, -0 lines 0 comments Download
M net/disk_cache/disk_cache_test_util.h View 4 chunks +22 lines, -2 lines 0 comments Download
M net/disk_cache/disk_cache_test_util.cc View 3 chunks +11 lines, -1 line 0 comments Download
M net/disk_cache/disk_format.h View 1 2 2 chunks +60 lines, -1 line 0 comments Download
M net/disk_cache/entry_impl.h View 1 2 3 5 chunks +11 lines, -4 lines 0 comments Download
M net/disk_cache/entry_impl.cc View 1 2 3 5 chunks +36 lines, -4 lines 0 comments Download
M net/disk_cache/entry_unittest.cc View 1 2 2 chunks +135 lines, -0 lines 0 comments Download
A net/disk_cache/sparse_control.h View 1 2 3 4 1 chunk +147 lines, -0 lines 0 comments Download
A net/disk_cache/sparse_control.cc View 1 2 3 4 1 chunk +407 lines, -0 lines 0 comments Download
M net/net.gyp View 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rvargas (doing something else)
Carlos, Please review Bitmap.* and IOBuffer.* Nicolas, Please review everything else. You may want to ...
11 years, 6 months ago (2009-06-16 00:48:33 UTC) #1
Nicolas Sylvain
Haven't looked at the 2 new sparse file yet. Will do that later. Some initial ...
11 years, 6 months ago (2009-06-16 15:06:06 UTC) #2
rvargas (doing something else)
thanks. http://codereview.chromium.org/126179/diff/1040/44 File net/disk_cache/entry_unittest.cc (right): http://codereview.chromium.org/126179/diff/1040/44#newcode901 Line 901: int ret = entry->ReadSparseData(offset, buf_1, size, cb); ...
11 years, 6 months ago (2009-06-16 17:38:55 UTC) #3
cpu_(ooo_6.6-7.5)
LGTM on my part of the review, some comments below. http://codereview.chromium.org/126179/diff/1040/35 File net/base/io_buffer.h (right): http://codereview.chromium.org/126179/diff/1040/35#newcode33 ...
11 years, 6 months ago (2009-06-16 20:00:06 UTC) #4
Nicolas Sylvain
11 years, 6 months ago (2009-06-17 04:07:00 UTC) #5
I could not find any error in space_control.cc, but this is a lot of code, that
needs a lot of visualization on how the pieces fall in together. (which I kind
of lack). If you want to have more sanity checking, we can meet tomorrow and
walk through the code together. (up to you).

LGTM

http://codereview.chromium.org/126179/diff/1048/60
File net/disk_cache/sparse_control.h (right):

http://codereview.chromium.org/126179/diff/1048/60#newcode66
Line 66: 
extra space here

Powered by Google App Engine
This is Rietveld 408576698