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

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

Issue 881853002: Add UMA to report requests for key systems using RequestMediaKeyAccess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove line + rebase Created 5 years, 11 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/webencryptedmediaclient_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 260e8f5bb8d4419771e17834a615033cc7e0c292..a17bf4f6a1cdd7ab6a5e3c4d26cd54914d8fb360 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -12472,6 +12472,16 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Media.EME.RequestMediaKeySystemAccess"
+ enum="RequestMediaKeySystemAccessStatus">
+ <owner>sandersd@chromium.org</owner>
+ <summary>
+ Key system support query status and result, as reported by
+ RequestMediaKeySystemAccess. Each value will be reported at most once per
+ renderer process.
+ </summary>
+</histogram>
+
<histogram name="Media.EME.Unknown" enum="CdmPromiseResult">
<owner>sandersd@chromium.org</owner>
<summary>
@@ -55767,6 +55777,11 @@ To add a new entry, add it with any value and run test to compute valid value.
</int>
</enum>
+<enum name="RequestMediaKeySystemAccessStatus" type="int">
+ <int value="0" label="Requested"/>
+ <int value="1" label="Supported"/>
+</enum>
+
<enum name="ResolutionCategory" type="int">
<int value="0" label="RESOLVE_SUCCESS"/>
<int value="1" label="RESOLVE_FAIL"/>
@@ -62723,6 +62738,14 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Event.Latency.RendererImpl"/>
</histogram_suffixes>
+<histogram_suffixes name="RequestMediaKeySystemAccessKeySystems" separator=".">
+ <suffix name="ClearKey" label="Requests for the Clear Key key system."/>
+ <suffix name="Unknown"
+ label="Requests for an unknown or unsupported key system."/>
+ <suffix name="Widevine" label="Requests for the Widevine key system."/>
+ <affected-histogram name="Media.EME.RequestMediaKeySystemAccess"/>
+</histogram_suffixes>
+
<histogram_suffixes name="ResourcePrefetchPredictorNetworkTypePrefetch"
separator=".">
<suffix name="NotPrefetched"
« no previous file with comments | « media/blink/webencryptedmediaclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698