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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2810333007: [Video] Record the results of background video optimization checks.
Patch Set: 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:
Download patch
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 7e5b2162dc2b7af8ef1ed9414c85ea91828d46b4..43aed6db996edb309e7b68ddc654a05a7f01c5cd 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28162,6 +28162,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Media.Video.ShouldDisableVideoWhenHiddenResult"
+ enum="MediaBackgroundOptimizationCandidacyResult">
+ <owner>avayvod@chromium.org</owner>
+ <owner>media-dev@chromium.org</owner>
+ <summary>
+ The reason behind the video track of a media element being disabled or not
+ when the tab containing the element is hidden.
+ </summary>
+</histogram>
+
+<histogram name="Media.Video.ShouldPauseVideoWhenHiddenResult"
+ enum="MediaBackgroundOptimizationCandidacyResult">
+ <owner>avayvod@chromium.org</owner>
+ <owner>media-dev@chromium.org</owner>
+ <summary>
+ The reason behind the video element being paused or not when the tab
+ containing it is hidden.
+ </summary>
+</histogram>
+
<histogram name="Media.Video.TimeFromForegroundToFirstFrame" units="ms">
<obsolete>
Deprecated as of 01/18/2017 in issue 670150. Replaced by
@@ -103276,6 +103296,15 @@ from previous Chrome versions.
<int value="3" label="Low and High confidence."/>
</enum>
+<enum name="MediaBackgroundOptimizationCandidacyResult" type="int">
+ <int value="0" label="SuccessForDuration"/>
+ <int value="1" label="SuccessForKeyframeDistance"/>
+ <int value="2" label="SuccessForVideoOnly"/>
+ <int value="3" label="FailForKeyframeDistance"/>
+ <int value="4" label="FailForRemote"/>
+ <int value="5" label="FailForStreaming"/>
+</enum>
+
<enum name="MediaCommand" type="int">
<int value="0" label="Resume"/>
<int value="1" label="Pause"/>
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698