media: Add PlayReady key system in media histograms
Previously, PlayReady related EME queries and playbacks reported as
`Unknown` key system in the histograms.
- Added `PlayReady` key system variant to "KeySystem"
- Added `PlayReady.HardwareSecure` variants to
"KeySystemWithRobustness"
Now the browser reports with `PlayReady.HardwareSecure` for the
following key systems:
- "com.microsoft.playready.recommendation" with "3000" robustness
- "com.microsoft.playready.recommendation.3000"
- Other PlayReady non hardware secure ones will be reported as Unknown.
Tests:
- Tried three different PlayReady playbacks:
a) "com.microsoft.playready.recommendation.3000": HardwareSecure
b) "com.microsoft.playready.recommendation" with 3000 robustness:
HardwareSecure
c) "com.microsoft.playready.recommendation" with 2000 robustness:
Unknown
- Captured histograms (chrome://histograms/#playready): See
http://shortn/_2m2Pyw1C4a
Bug: 378869813
Change-Id: I31ddc89d80e31a2b59a0d4153410c02b9a3a88b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6404530
Commit-Queue: Sangbaek Park <sangbaekpark@chromium.org>
Reviewed-by: Evan Liu <evliu@google.com>
Reviewed-by: Xiaohan Wang <xhwang@chromium.org>
Reviewed-by: Vikram Pasupathy <vpasupathy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1444961}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.