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

Unified Diff: media/base/android/android_cdm_factory.h

Issue 1837143002: media: Pass MediaPermission to MediaDrmBridge Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More plumbing Created 4 years, 8 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 | « content/renderer/render_frame_impl.cc ('k') | media/base/android/android_cdm_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/android_cdm_factory.h
diff --git a/media/base/android/android_cdm_factory.h b/media/base/android/android_cdm_factory.h
index a3ac6bd2cea8f4dc6764cc8335fe6aa7c11bb551..ce6d89106c74bb16bf60670c7e40db1a49d3ebab 100644
--- a/media/base/android/android_cdm_factory.h
+++ b/media/base/android/android_cdm_factory.h
@@ -13,11 +13,13 @@
namespace media {
+class MediaPermission;
struct CdmConfig;
class MEDIA_EXPORT AndroidCdmFactory : public CdmFactory {
public:
- AndroidCdmFactory(const CreateFetcherCB& create_fetcher_cb);
+ AndroidCdmFactory(MediaPermission* media_permission,
+ const CreateFetcherCB& create_fetcher_cb);
~AndroidCdmFactory() final;
// CdmFactory implementation.
@@ -32,6 +34,7 @@ class MEDIA_EXPORT AndroidCdmFactory : public CdmFactory {
const CdmCreatedCB& cdm_created_cb) final;
private:
+ MediaPermission* media_permission_;
CreateFetcherCB create_fetcher_cb_;
DISALLOW_COPY_AND_ASSIGN(AndroidCdmFactory);
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | media/base/android/android_cdm_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698