diff options
author | xhwang <xhwang@chromium.org> | 2015-01-27 09:54:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-27 17:54:56 +0000 |
commit | 36b1f3badd1e3f36d0fb5eb63328d2de4da051ae (patch) | |
tree | 9f7cc4f2ea15f7e41d175a575e80ee22b0775449 /content/common/permission_service.mojom | |
parent | 8bd6f985f24f3ab29fbfd325e678121f33dd3518 (diff) | |
download | chromium_src-36b1f3badd1e3f36d0fb5eb63328d2de4da051ae.zip chromium_src-36b1f3badd1e3f36d0fb5eb63328d2de4da051ae.tar.gz chromium_src-36b1f3badd1e3f36d0fb5eb63328d2de4da051ae.tar.bz2 |
media: 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.
Review URL: https://codereview.chromium.org/871663003
Cr-Commit-Position: refs/heads/master@{#313303}
Diffstat (limited to 'content/common/permission_service.mojom')
-rw-r--r-- | content/common/permission_service.mojom | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/permission_service.mojom b/content/common/permission_service.mojom index 379efa5..dc80d24c 100644 --- a/content/common/permission_service.mojom +++ b/content/common/permission_service.mojom @@ -10,6 +10,7 @@ enum PermissionName { GEOLOCATION, MIDI_SYSEX, NOTIFICATIONS, + PROTECTED_MEDIA_IDENTIFIER, }; // The Permission service provides permission handling capabilities by exposing |