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

Issue 49027: Disk cache: First pass to make it possible to have... (Closed)

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

Description

Disk cache: First pass to make it possible to have multiple instances of BackendImpl. We need multiple objects to be able to support media files on the cache. After this change, histograms will be the only thing that get messed up by multiple disk caches. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12520

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -76 lines) Patch
M chrome/browser/net/chrome_url_request_context.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 3 chunks +9 lines, -4 lines 0 comments Download
A net/base/cache_type.h View 1 chunk +20 lines, -0 lines 0 comments Download
M net/disk_cache/backend_impl.h View 1 2 3 chunks +13 lines, -5 lines 0 comments Download
M net/disk_cache/backend_impl.cc View 1 2 8 chunks +19 lines, -15 lines 0 comments Download
M net/disk_cache/backend_unittest.cc View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M net/disk_cache/disk_cache.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/disk_cache/disk_cache_perftest.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M net/disk_cache/disk_cache_test_base.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/disk_cache/eviction.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M net/disk_cache/eviction.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M net/disk_cache/stress_cache.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M net/disk_cache/trace.h View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
M net/disk_cache/trace.cc View 1 2 2 chunks +20 lines, -6 lines 0 comments Download
M net/http/http_cache.h View 1 2 4 chunks +4 lines, -14 lines 0 comments Download
M net/http/http_cache.cc View 1 2 8 chunks +8 lines, -8 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/net.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/crash_cache/crash_cache.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rvargas (doing something else)
11 years, 9 months ago (2009-03-25 03:17:12 UTC) #1
Alpha Left Google
Thanks for the quick updates! Everything looks except for the use of s_trace_buffer in net/disk_cache/trace.cc.
11 years, 9 months ago (2009-03-25 20:28:53 UTC) #2
Alpha Left Google
Oh, I forgot to publish my comments. http://codereview.chromium.org/49027/diff/1/19 File chrome/browser/net/chrome_url_request_context.cc (right): http://codereview.chromium.org/49027/diff/1/19#newcode178 Line 178: cache->set_type(net::TEMP_MEDIA_CACHE); ...
11 years, 9 months ago (2009-03-25 20:29:37 UTC) #3
rvargas (doing something else)
Thanks. The reason for making the TraceObject refcounted was to be able to share it ...
11 years, 9 months ago (2009-03-25 21:56:12 UTC) #4
Alpha Left Google
11 years, 9 months ago (2009-03-25 22:30:08 UTC) #5
Thanks. LGTM.

Powered by Google App Engine
This is Rietveld 408576698