Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: media/blink/encrypted_media_player_support.h

Issue 887873003: media: Add DefaultMediaPermission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/BUILD.gn ('k') | media/blink/encrypted_media_player_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/encrypted_media_player_support.h
diff --git a/media/blink/encrypted_media_player_support.h b/media/blink/encrypted_media_player_support.h
index c261ec38c2cda7717327db9afa4e0b788173c3b3..c5120269aa9175bb086acf79a870b6667c306494 100644
--- a/media/blink/encrypted_media_player_support.h
+++ b/media/blink/encrypted_media_player_support.h
@@ -27,6 +27,7 @@ class WebString;
namespace media {
+class MediaPermission;
class WebContentDecryptionModuleImpl;
// Provides support to prefixed EME implementation.
@@ -40,6 +41,7 @@ class EncryptedMediaPlayerSupport
EncryptedMediaPlayerSupport(scoped_ptr<CdmFactory> cdm_factory,
blink::WebMediaPlayerClient* client,
+ MediaPermission* media_permission,
const SetCdmContextCB& set_cdm_context_cb);
~EncryptedMediaPlayerSupport();
@@ -96,6 +98,8 @@ class EncryptedMediaPlayerSupport
blink::WebMediaPlayerClient* client_;
+ MediaPermission* media_permission_;
+
// The currently selected key system. Empty string means that no key system
// has been selected.
std::string current_key_system_;
« no previous file with comments | « media/BUILD.gn ('k') | media/blink/encrypted_media_player_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698