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

Issue 42682: Disk Cache: Second pass (and final) to allow multiple instances... (Closed)

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

Description

Disk Cache: Second pass (and final) to allow multiple instances of BackendImpl. This cl takes care of all the histograms on the disk cache. Most of them have to be splitted in three so that we get separate data from different cache types. There are a few places where the complexity of splitting the histogram is not worth it so we just keep either all data together (if it makes sense), or just ignore data for some types of caches. note: Having multiple versions of a histogram but only one "active" for a given client is not the same as having multiple histograms working at the same time for different objects. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12692

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -65 lines) Patch
M net/disk_cache/backend_impl.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M net/disk_cache/backend_impl.cc View 1 2 9 chunks +35 lines, -39 lines 0 comments Download
M net/disk_cache/entry_impl.cc View 7 chunks +12 lines, -7 lines 0 comments Download
M net/disk_cache/eviction.cc View 5 chunks +5 lines, -11 lines 0 comments Download
A net/disk_cache/histogram_macros.h View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M net/disk_cache/rankings.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M net/disk_cache/stats.cc View 1 chunk +15 lines, -6 lines 0 comments Download
M net/net.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
11 years, 9 months ago (2009-03-27 01:05:20 UTC) #1
Nicolas Sylvain
lgtm http://codereview.chromium.org/42682/diff/10/13 File net/disk_cache/backend_impl.h (right): http://codereview.chromium.org/42682/diff/10/13#newcode113 Line 113: net::CacheType cache_type() { return cache_type_; } style? ...
11 years, 9 months ago (2009-03-27 17:59:07 UTC) #2
rvargas (doing something else)
11 years, 9 months ago (2009-03-27 20:13:54 UTC) #3
All comments fixed. Thanks.

On 2009/03/27 17:59:07, Nicolas Sylvain wrote:
> lgtm
> 
> http://codereview.chromium.org/42682/diff/10/13
> File net/disk_cache/backend_impl.h (right):
> 
> http://codereview.chromium.org/42682/diff/10/13#newcode113
> Line 113: net::CacheType cache_type() { return cache_type_; }
> style?
> 
> http://codereview.chromium.org/42682/diff/10/12
> File net/disk_cache/histogram_macros.h (right):
> 
> http://codereview.chromium.org/42682/diff/10/12#newcode28
> Line 28: #define UMA_HISTOGRAM_ERROR(name, sample) do { \
> UMA_HISTOGRAM_CACHE_ERROR maybe?
> 
> http://codereview.chromium.org/42682/diff/10/12#newcode63
> Line 63: break;\
> NOTREACHED?

Powered by Google App Engine
This is Rietveld 408576698