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

Unified Diff: net/disk_cache/stats.h

Issue 10829466: SampleSet -> HistogramSamples (will be reused by SparseHistogram) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/disk_cache/stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/stats.h
===================================================================
--- net/disk_cache/stats.h (revision 155400)
+++ net/disk_cache/stats.h (working copy)
@@ -11,6 +11,10 @@
#include "base/basictypes.h"
#include "net/disk_cache/stats_histogram.h"
+namespace base {
+class HistogramSamples;
+} // namespace base
+
namespace disk_cache {
class BackendImpl;
@@ -74,7 +78,7 @@
// Support for StatsHistograms. Together, these methods allow StatsHistograms
// to take a snapshot of the data_sizes_ as the histogram data.
int GetBucketRange(size_t i) const;
- void Snapshot(StatsHistogram::StatsSamples* samples) const;
+ void Snapshot(base::HistogramSamples* samples) const;
private:
int GetStatsBucket(int32 size);
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/disk_cache/stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698