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

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

Issue 2111673004: When autoplay of muted videos is disabled, record the reason why. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 47ed6ea0382f47ab367ca450351a49303eaeadf4..f3d5eb83aec2bb22b3f264947c75badae86aa58b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -23316,6 +23316,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Records the autoplay source of muted videos.</summary>
</histogram>
+<histogram name="Media.Video.Autoplay.Muted.Blocked"
+ enum="AutoplayBlockedReason">
+ <owner>avayvod@chromium.org</owner>
+ <owner>mlamouri@chromium.org</owner>
+ <owner>zqzhang@chromium.org</owner>
+ <summary>
+ Records the reason why autoplay of muted videos was blocked.
+ </summary>
+</histogram>
+
<histogram name="Media.Video.Autoplay.Muted.PlayMethod.BecomesVisible"
enum="Boolean">
<owner>avayvod@chromium.org</owner>
@@ -69159,6 +69169,12 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="3" label="[Deprecated] AUTO_LAUNCH_FOREGROUND_USELESS"/>
</enum>
+<enum name="AutoplayBlockedReason" type="int">
+ <int value="0" label="Data Saver enabled"/>
+ <int value="1" label="Disabled by setting"/>
+ <int value="2" label="Data Saver and setting"/>
+</enum>
+
<enum name="AutoplaySource" type="int">
<int value="0" label="autoplay attribute"/>
<int value="1" label="play() method"/>

Powered by Google App Engine
This is Rietveld 408576698