diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 17:28:31 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 17:28:31 +0000 |
commit | 55185493afba3b7813d44a25c614975c0bc0f32b (patch) | |
tree | b8891744621915ba5cd12d0dd8e305f3ec5e0c5f /net/disk_cache/backend_impl.h | |
parent | b235357d38b41a6d3dbf552fd9f4aee3261af0ba (diff) | |
download | chromium_src-55185493afba3b7813d44a25c614975c0bc0f32b.zip chromium_src-55185493afba3b7813d44a25c614975c0bc0f32b.tar.gz chromium_src-55185493afba3b7813d44a25c614975c0bc0f32b.tar.bz2 |
Disk Cache: Split some time histograms in groups based
on the cache size.
BUG=10727
TEST=none
Review URL: http://codereview.chromium.org/146129
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r-- | net/disk_cache/backend_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h index a061feb..0aae9de 100644 --- a/net/disk_cache/backend_impl.h +++ b/net/disk_cache/backend_impl.h @@ -122,6 +122,9 @@ class BackendImpl : public Backend { return cache_type_; } + // Returns the group for this client, based on the current cache size. + int GetSizeGroup(); + // Returns true if we should send histograms for this user again. The caller // must call this function only once per run (because it returns always the // same thing on a given run). |