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

Issue 119072: Disk cache: Interface for the sparse cache support.... (Closed)

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

Description

Disk cache: Interface for the sparse cache support. This is just the interface declaration plus a mocked implementation of the interface. BUG=12258 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17669

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -2 lines) Patch
M net/base/net_error_list.h View 1 1 chunk +3 lines, -0 lines 1 comment Download
M net/disk_cache/disk_cache.h View 1 1 chunk +53 lines, -0 lines 0 comments Download
M net/disk_cache/entry_impl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/disk_cache/entry_impl.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M net/disk_cache/mem_entry_impl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/disk_cache/mem_entry_impl.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 3 chunks +77 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rvargas (doing something else)
11 years, 6 months ago (2009-06-03 03:51:08 UTC) #1
wtc
LGTM. Nice documentation of the API. I have a little trouble understanding the return value ...
11 years, 6 months ago (2009-06-04 01:09:07 UTC) #2
rvargas (doing something else)
Thanks, I think I addressed all your comments. The purpose of GetAvailableRange is to tell ...
11 years, 6 months ago (2009-06-04 01:49:34 UTC) #3
wtc
LGTM. http://codereview.chromium.org/119072/diff/14/16 File net/base/net_error_list.h (right): http://codereview.chromium.org/119072/diff/14/16#newcode254 Line 254: NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) You were so fast :-) ...
11 years, 6 months ago (2009-06-04 02:01:04 UTC) #4
rvargas (doing something else)
11 years, 6 months ago (2009-06-04 02:07:14 UTC) #5
On 2009/06/04 02:01:04, wtc wrote:
> LGTM.
> 
> http://codereview.chromium.org/119072/diff/14/16
> File net/base/net_error_list.h (right):
> 
> http://codereview.chromium.org/119072/diff/14/16#newcode254
> Line 254: NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403)
> You were so fast :-)  I was going to suggest that you could
> also use a more specific error code name such as
> CACHE_NOT_SPARSE_ENTRY.

Thanks. I'll probably end up using the same error code to fail a regular
operation after the entry has been set to be sparse.

Powered by Google App Engine
This is Rietveld 408576698