From a3cfbfaab843a48399ffb31a73f98366e88417f0 Mon Sep 17 00:00:00 2001 From: "rvargas@chromium.org" Date: Tue, 27 May 2014 23:49:33 +0000 Subject: Disk cache: Remove stats_histogram. StatsHistograms is the only "external" subclass of base::Histogram and as such it often requires extra considerations when modifying the base class. On the other hand, almost the same data can be gathered by using a regular log histogram with a specific range. This CL does that, generating a 75 bucket histogram to map the 27 buckets from the original data. Most of the buckets will be empty, and a couple of buckets will be merged on the new histogram, but the compromise looks good enough. BUG=377936 Review URL: https://codereview.chromium.org/295913014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273074 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/blockfile/histogram_macros.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/disk_cache/blockfile/histogram_macros.h') diff --git a/net/disk_cache/blockfile/histogram_macros.h b/net/disk_cache/blockfile/histogram_macros.h index ecffc8f..61cc6ea 100644 --- a/net/disk_cache/blockfile/histogram_macros.h +++ b/net/disk_cache/blockfile/histogram_macros.h @@ -11,6 +11,8 @@ #ifndef NET_DISK_CACHE_BLOCKFILE_HISTOGRAM_MACROS_H_ #define NET_DISK_CACHE_BLOCKFILE_HISTOGRAM_MACROS_H_ +#include "base/metrics/histogram.h" + // ----------------------------------------------------------------------------- // These histograms follow the definition of UMA_HISTOGRAMN_XXX except that -- cgit v1.1