Descriptionmedia: Add MediaPermission interface and MediaPermissionDispatcher.
MediaPermission is the interface for media code to check/request media related
permissions. MediaPermissionDispatcher is a MediaPermission implementation in
content/.
Plan of follow-up CL:
- Use MediaPermission in ProxyDecryptor and remove current protected media
identifier info bar code in the browser process (on Android and ChromeOS).
BUG=446263
TEST=Tested on Android with encrypted-media-requestmediakeysystemaccess.html
layout test by calling MediaPermission methods manually in
webencryptedmediaclient_impl.cc.
Committed: https://crrev.com/36b1f3badd1e3f36d0fb5eb63328d2de4da051ae
Cr-Commit-Position: refs/heads/master@{#313303}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove test code. #
Total comments: 10
Patch Set 3 : Fix mojo and chromeos build. #Patch Set 4 : rebase only #Patch Set 5 : #
Total comments: 19
Patch Set 6 : comments addressed #Patch Set 7 : comments addressed #Messages
Total messages: 28 (8 generated)
|