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

Unified Diff: chromecast/browser/metrics/external_metrics.cc

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 | « chromecast/base/metrics/cast_histograms.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/metrics/external_metrics.cc
diff --git a/chromecast/browser/metrics/external_metrics.cc b/chromecast/browser/metrics/external_metrics.cc
index 698e02be5429e6649c0aed5615fe69ba50012d8a..df9fa79b74163d46c9898ec73491c3ca187f135d 100644
--- a/chromecast/browser/metrics/external_metrics.cc
+++ b/chromecast/browser/metrics/external_metrics.cc
@@ -129,7 +129,8 @@ int ExternalMetrics::CollectEvents() {
sample.sample(),
sample.min(),
sample.max(),
- sample.bucket_count());
+ sample.bucket_count(),
+ 1);
break;
case ::metrics::MetricSample::LINEAR_HISTOGRAM:
if (!CheckLinearValues(sample.name(), sample.max())) {
« no previous file with comments | « chromecast/base/metrics/cast_histograms.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698