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

Unified Diff: base/metrics/sparse_histogram.cc

Issue 11342060: Histogram type support in HistogramBase and remove SetRangeDescription function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove "using" from metrics.cc Created 8 years, 2 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 | « base/metrics/sparse_histogram.h ('k') | chrome/browser/extensions/api/metrics/metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/sparse_histogram.cc
diff --git a/base/metrics/sparse_histogram.cc b/base/metrics/sparse_histogram.cc
index e4e16e82aea57422a7602f3839ce6ab36fd21ecc..169037dcca9c741bc40737b4c7d9e919a1340c46 100644
--- a/base/metrics/sparse_histogram.cc
+++ b/base/metrics/sparse_histogram.cc
@@ -26,6 +26,10 @@ HistogramBase* SparseHistogram::FactoryGet(const string& name, int32 flags) {
SparseHistogram::~SparseHistogram() {}
+HistogramType SparseHistogram::GetHistogramType() const {
+ return SPARSE_HISTOGRAM;
+}
+
bool SparseHistogram::HasConstructionArguments(Sample minimum,
Sample maximum,
size_t bucket_count) const {
« no previous file with comments | « base/metrics/sparse_histogram.h ('k') | chrome/browser/extensions/api/metrics/metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698