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

Issue 20134: Extend the IOBuffer to the disk cache. (Closed)

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

Description

Extend the IOBuffer to the disk cache. This is cleanup from bug 5325. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=9528

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -277 lines) Patch
M net/base/completion_callback.h View 3 chunks +0 lines, -17 lines 0 comments Download
M net/base/io_buffer.h View 2 chunks +12 lines, -1 line 1 comment Download
M net/disk_cache/backend_unittest.cc View 1 8 chunks +35 lines, -29 lines 0 comments Download
M net/disk_cache/disk_cache.h View 1 3 chunks +10 lines, -4 lines 0 comments Download
M net/disk_cache/disk_cache_perftest.cc View 5 chunks +16 lines, -14 lines 0 comments Download
M net/disk_cache/entry_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/disk_cache/entry_impl.cc View 10 chunks +14 lines, -10 lines 0 comments Download
M net/disk_cache/entry_unittest.cc View 20 chunks +169 lines, -154 lines 0 comments Download
M net/disk_cache/mem_entry_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/disk_cache/mem_entry_impl.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M net/disk_cache/stress_cache.cc View 1 4 chunks +7 lines, -7 lines 0 comments Download
M net/http/http_cache.cc View 1 2 3 10 chunks +14 lines, -19 lines 0 comments Download
M net/http/http_cache_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_transaction.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_transaction_unittest.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/dump_cache/upgrade.cc View 1 2 3 3 chunks +8 lines, -4 lines 0 comments Download
M net/url_request/url_request_view_cache_job.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rvargas (doing something else)
11 years, 10 months ago (2009-02-06 18:50:57 UTC) #1
darin (slow to review)
LG overall. Just minor nits and naming suggestions. I think it would be good to ...
11 years, 10 months ago (2009-02-06 23:06:19 UTC) #2
rvargas (doing something else)
Thanks. Could you take another look?. On 2009/02/06 23:06:19, darin wrote: > LG overall. Just ...
11 years, 10 months ago (2009-02-07 01:49:26 UTC) #3
darin (slow to review)
http://codereview.chromium.org/20134/diff/1016/1019 File net/http/http_cache.cc (right): http://codereview.chromium.org/20134/diff/1016/1019#newcode1105 Line 1105: scoped_refptr<FakeIOBuffer> data = new FakeIOBuffer( looks like your ...
11 years, 10 months ago (2009-02-07 03:09:08 UTC) #4
rvargas (doing something else)
On 2009/02/07 03:09:08, darin wrote: > http://codereview.chromium.org/20134/diff/1016/1019 > File net/http/http_cache.cc (right): > > http://codereview.chromium.org/20134/diff/1016/1019#newcode1105 > ...
11 years, 10 months ago (2009-02-07 03:36:27 UTC) #5
darin (slow to review)
LGTM http://codereview.chromium.org/20134/diff/1062/1080 File net/base/io_buffer.h (right): http://codereview.chromium.org/20134/diff/1062/1080#newcode34 Line 34: // owns the underlying buffer. Please use ...
11 years, 10 months ago (2009-02-10 04:40:26 UTC) #6
rvargas (doing something else)
11 years, 10 months ago (2009-02-10 19:01:38 UTC) #7
On 2009/02/10 04:40:26, darin wrote:
> LGTM
> 
> http://codereview.chromium.org/20134/diff/1062/1080
> File net/base/io_buffer.h (right):
> 
> http://codereview.chromium.org/20134/diff/1062/1080#newcode34
> Line 34: // owns the underlying buffer. Please use this class only as a last
> resort.
> nit: s/owns/own/
> 
> maybe you could also more clearly state when it is OK to use this class.

Thanks. Added "A good example is the buffer for a synchronous operation, where
we can be sure that nobody is keeping an extra reference to this object so the
lifetime of the buffer can be completely managed by its intended owner."

Powered by Google App Engine
This is Rietveld 408576698