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

Unified Diff: base/metrics/histogram.h

Issue 137623002: Let MetricsService know about some Android Activities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert 0 to Histogram::kNoFlags Created 6 years, 11 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 | « no previous file | base/metrics/histogram_base.h » ('j') | base/metrics/histogram_base.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/histogram.h
diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h
index 9845362d98aa31cad7557383e2fc1e039ad5f67e..e90d02161100d1ad8f514066f22c980dc41ae288 100644
--- a/base/metrics/histogram.h
+++ b/base/metrics/histogram.h
@@ -353,6 +353,12 @@ class Lock;
base::LinearHistogram::FactoryGet(name, 1, boundary_value, \
boundary_value + 1, base::HistogramBase::kUmaTargetedHistogramFlag))
+#define UMA_STABILITY_HISTOGRAM_ENUMERATION(name, sample, boundary_value) \
Alexei Svitkine (slow) 2014/01/22 21:14:19 Please add a comment that explains this macro (and
Kibeom Kim (inactive) 2014/01/24 19:45:09 Done.
+ STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
Alexei Svitkine (slow) 2014/01/22 21:14:19 I would maybe make an UMA_HISTOGRAM_ENUMERATION_WI
Kibeom Kim (inactive) 2014/01/24 19:45:09 Done.
+ base::LinearHistogram::FactoryGet(name, 1, boundary_value, \
+ boundary_value + 1, \
+ base::HistogramBase::kUmaTargetedStabilityHistogramFlag))
+
#define UMA_HISTOGRAM_CUSTOM_ENUMERATION(name, sample, custom_ranges) \
STATIC_HISTOGRAM_POINTER_BLOCK(name, Add(sample), \
base::CustomHistogram::FactoryGet(name, custom_ranges, \
« no previous file with comments | « no previous file | base/metrics/histogram_base.h » ('j') | base/metrics/histogram_base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698