Skip to content

Commit

Permalink
Add aggregation for Media.EME.RequestMediaKeySystemAccess UMK
Browse files Browse the repository at this point in the history
To enable these metrics on UKM dashboard.

Bug: 1068642
Change-Id: I497e6bfe703407a9a6d42f68a546d2117c8f0058
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151335
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761059}
  • Loading branch information
xhwang-chromium authored and Commit Bot committed Apr 21, 2020
1 parent be71503 commit ac70101
Showing 1 changed file with 41 additions and 6 deletions.
47 changes: 41 additions & 6 deletions tools/metrics/ukm/ukm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5396,41 +5396,76 @@ be describing additional metrics about the same event.
Event recorded when RequestMediaKeySystemAccess() is called as part of
Encrypted Media Extensions (EME) API.
</summary>
<metric name="IsAdFrame">
<metric name="IsAdFrame" enum="Boolean">
<summary>
Whether the frame is an ad frame.
</summary>
<aggregation>
<history>
<statistics>
<enumeration/>
</statistics>
</history>
</aggregation>
</metric>
<metric name="IsCrossOrigin">
<metric name="IsCrossOrigin" enum="Boolean">
<summary>
Whether the frame is Cross-Origin to the main frame.
</summary>
<aggregation>
<history>
<statistics>
<enumeration/>
</statistics>
</history>
</aggregation>
</metric>
<metric name="IsTopFrame">
<metric name="IsTopFrame" enum="Boolean">
<summary>
Whether the frame is the main frame.
</summary>
<aggregation>
<history>
<statistics>
<enumeration/>
</statistics>
</history>
</aggregation>
</metric>
<metric name="KeySystem">
<summary>
The key system passed in requestMediaKeySystemAccess() call.
</summary>
<aggregation>
<history>
<statistics>
<enumeration/>
</statistics>
</history>
</aggregation>
</metric>
<metric name="VideoCapabilities">
<metric name="VideoCapabilities" enum="Boolean">
<summary>
Whether there are any &quot;videoCapabilities&quot;.
</summary>
</metric>
<metric name="VideoCapabilities.HasEmptyRobustness">
<metric name="VideoCapabilities.HasEmptyRobustness" enum="Boolean">
<summary>
Whether there are any &quot;videoCapabilities&quot; with empty robustness.
</summary>
</metric>
<metric name="VideoCapabilities.HasHwSecureAllRobustness">
<metric name="VideoCapabilities.HasHwSecureAllRobustness" enum="Boolean">
<summary>
Whether there are any &quot;videoCapabilities&quot; with robustness being
&quot;HW_SECURE_ALL&quot;.
</summary>
<aggregation>
<history>
<statistics>
<enumeration/>
</statistics>
</history>
</aggregation>
</metric>
</event>

Expand Down

0 comments on commit ac70101

Please sign in to comment.