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

Unified Diff: media/filters/video_cadence_estimator.cc

Issue 2687583002: Add support for single sample metrics. (Closed)
Patch Set: Use thread local storage. Created 3 years, 8 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: media/filters/video_cadence_estimator.cc
diff --git a/media/filters/video_cadence_estimator.cc b/media/filters/video_cadence_estimator.cc
index ee8916e0c048001056d5089f0971e83e1b6b0b2a..7f607cd4941c08fc8347322b24a4a059aa2d05a7 100644
--- a/media/filters/video_cadence_estimator.cc
+++ b/media/filters/video_cadence_estimator.cc
@@ -29,10 +29,10 @@ const double kConstantFPSFactor = 0.45;
// Records the number of cadence changes to UMA.
static void HistogramCadenceChangeCount(int cadence_changes) {
- const int kCadenceChangeMax = 10;
- UMA_HISTOGRAM_CUSTOM_COUNTS("Media.VideoRenderer.CadenceChanges",
- cadence_changes, 1, kCadenceChangeMax,
- kCadenceChangeMax);
+ // const int kCadenceChangeMax = 10;
+ // UMA_HISTOGRAM_CUSTOM_COUNTS("Media.VideoRenderer.CadenceChanges",
+ // cadence_changes, 1, kCadenceChangeMax,
+ // kCadenceChangeMax);
}
// Construct a Cadence vector, a vector of integers satisfying the following

Powered by Google App Engine
This is Rietveld 408576698