media: Add UMA to record whether encrypted media is enabled

Desktop / Chromium - xhwang [chromium.org] - 18 April 2017 02:53 EDT

The UMA is recorded when requestMediaKeySystemAccess is called on non-ClearKey key system but will reported at most once per renderer process.

BUG=711348 TEST=Manually tested

Review-Url: https://codereview.chromium.org/2824643002 Cr-Commit-Position: refs/heads/master@{#465159}

6041683 media: Add UMA to record whether encrypted media is enabled
.../NavigatorRequestMediaKeySystemAccess.cpp | 17 ++++++++++++++---
tools/metrics/histograms/histograms.xml | 10 ++++++++++
2 files changed, 24 insertions(+), 3 deletions(-)

Upstream: git.chromium.org


  • Share