commit | a539416c1f041af93e054d1cd397f895762022bc | [log] [tgz] |
---|---|---|
author | John Rummell <jrummell@chromium.org> | Thu Oct 03 21:39:30 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 03 21:39:30 2019 |
tree | 1a39a6d8797a010ab76f6576b790e61cc2730d80 | |
parent | c27dbd6362ac3b41d047401d4ce16cce0052daf2 [diff] |
Enable component updated Widevine CDM on desktop Linux On Linux the Widevine CDM is loaded into the zygote at startup. When the component updater runs sometime later and finds a newer version of the Widevine CDM, don't register it as the newer version can't be used. Instead, similar to Flash, save the path to the new Widevine CDM in the file latest-component-updated-widevine-cdm. Next time at startup this file will be checked, and if it references a usable Widevine CDM, use this version instead of the bundled CDM. Tested this by running Chrome built with an older version of the Widevine CDM, and then checking chrome://components for a newer (QA) version. As there is one, it gets updated. When restarting Chrome, the newer version is loaded. In both cases Widevine content was played using Shaka. Bug: 971433 Test: see description, plus new unit_tests pass Change-Id: I2d188f5206ba45de8e87b7c51cb45a59a2875b19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1826077 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Sorin Jianu <sorin@chromium.org> Reviewed-by: Xiaohan Wang <xhwang@chromium.org> Commit-Queue: John Rummell <jrummell@chromium.org> Cr-Commit-Position: refs/heads/master@{#702592}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .