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

Unified Diff: media/blink/webencryptedmediaclient_impl.h

Issue 871663003: media: Add MediaPermission interface and MediaPermissionDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: media/blink/webencryptedmediaclient_impl.h
diff --git a/media/blink/webencryptedmediaclient_impl.h b/media/blink/webencryptedmediaclient_impl.h
index 2b4e9d5de13cfe910878047c9409b7c12dc01500..ad0062ad8f8909f4c60fa719513288f2166cfa84 100644
--- a/media/blink/webencryptedmediaclient_impl.h
+++ b/media/blink/webencryptedmediaclient_impl.h
@@ -13,10 +13,13 @@
namespace media {
+class MediaPermission;
+
class MEDIA_EXPORT WebEncryptedMediaClientImpl
: public blink::WebEncryptedMediaClient {
public:
- WebEncryptedMediaClientImpl(scoped_ptr<CdmFactory> cdm_factory);
+ WebEncryptedMediaClientImpl(scoped_ptr<CdmFactory> cdm_factory,
+ MediaPermission* media_permission);
virtual ~WebEncryptedMediaClientImpl();
// WebEncryptedMediaClient implementation.
@@ -25,6 +28,7 @@ class MEDIA_EXPORT WebEncryptedMediaClientImpl
private:
scoped_ptr<CdmFactory> cdm_factory_;
+ MediaPermission* media_permission_;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698