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

Unified Diff: net/disk_cache/stats_histogram.h

Issue 10834011: Refactor of Histogram related code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
Index: net/disk_cache/stats_histogram.h
===================================================================
--- net/disk_cache/stats_histogram.h (revision 148055)
+++ net/disk_cache/stats_histogram.h (working copy)
@@ -29,9 +29,11 @@
}
};
- StatsHistogram(const std::string& name, Sample minimum,
- Sample maximum, size_t bucket_count)
- : Histogram(name, minimum, maximum, bucket_count), init_(false) {}
+ StatsHistogram(const std::string& name,
+ Sample minimum,
+ Sample maximum,
+ size_t bucket_count)
+ : Histogram(name, minimum, maximum, bucket_count, NULL), init_(false) {}
virtual ~StatsHistogram();
static StatsHistogram* FactoryGet(const std::string& name);
@@ -44,7 +46,6 @@
virtual void SnapshotSample(SampleSet* sample) const OVERRIDE;
virtual Inconsistencies FindCorruption(
const SampleSet& snapshot) const OVERRIDE;
- virtual uint32 CalculateRangeChecksum() const OVERRIDE;
private:
bool init_;

Powered by Google App Engine
This is Rietveld 408576698