forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cast] Avoid old Android IPC used to check for key system support
Previously each renderer on Android would check for key system support by using cdm::QueryKeySystemSupport(), which uses the old IPC protocol. New way is to use the KeySystemSupport mojo interface where key systems are registered in the browser, and renderers subscribe to notifications. This matches what is being done for desktop browsers (and Chrome on Android). KeySystemSupport allows for delayed determination of what features are supported until the first time it is queried. So registration in the browser is done without specifying any capabilities, and they will be computed the first time they are needed. Bug: 853336 Change-Id: Icd4b10f3c45e9c9cf48de19b09bb15ac1ff861bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4313470 Reviewed-by: Xiaohan Wang <xhwang@chromium.org> Reviewed-by: Yuchen Liu <yucliu@chromium.org> Commit-Queue: John Rummell <jrummell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1202929}
- Loading branch information
1 parent
0024fe7
commit 7494194
Showing
7 changed files
with
50 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters