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

Unified Diff: chromecast/base/metrics/cast_histograms.h

Issue 1423973002: [Chromecast] Change UMA_HISTOGRAM_CUSTOM_COUNTS_NO_CACHE to use AddCount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 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 | « no previous file | chromecast/browser/metrics/external_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/metrics/cast_histograms.h
diff --git a/chromecast/base/metrics/cast_histograms.h b/chromecast/base/metrics/cast_histograms.h
index 19cb98e7cfb84c88be161adaf1d8270bf44d4217..bac472c1b28b0299b75833dc132d4202bad4961b 100644
--- a/chromecast/base/metrics/cast_histograms.h
+++ b/chromecast/base/metrics/cast_histograms.h
@@ -29,8 +29,8 @@
base::Histogram::kUmaTargetedHistogramFlag))
#define UMA_HISTOGRAM_CUSTOM_COUNTS_NO_CACHE(name, sample, min, max, \
- bucket_count) \
- STATIC_HISTOGRAM_POINTER_BLOCK_NO_CACHE(name, Add(sample), \
+ bucket_count, count) \
+ STATIC_HISTOGRAM_POINTER_BLOCK_NO_CACHE(name, AddCount(sample, count), \
base::Histogram::FactoryGet(name, min, max, bucket_count, \
base::HistogramBase::kUmaTargetedHistogramFlag))
« no previous file with comments | « no previous file | chromecast/browser/metrics/external_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698