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

Unified Diff: media/mojo/services/android_mojo_media_client.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 | « media/base/android/media_drm_bridge.cc ('k') | media/mojo/services/android_mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/android_mojo_media_client.h
diff --git a/media/mojo/services/android_mojo_media_client.h b/media/mojo/services/android_mojo_media_client.h
index 3ab07d85416ff2603f642c38df506a1f2f4a82db..342fe82afa1246c080ead7fe83cdb4aab35765f0 100644
--- a/media/mojo/services/android_mojo_media_client.h
+++ b/media/mojo/services/android_mojo_media_client.h
@@ -12,9 +12,16 @@
namespace media {
+class MediaPermission;
+
class AndroidMojoMediaClient : public MojoMediaClient {
public:
+ // Constructs AndroidMojoMediaClient without MediaPermission.
AndroidMojoMediaClient();
+
+ // Constructs AndroidMojoMediaClient with a non-null MediaPermission.
+ explicit AndroidMojoMediaClient(MediaPermission* media_permission);
+
~AndroidMojoMediaClient() final;
// MojoMediaClient implementation.
@@ -25,6 +32,8 @@ class AndroidMojoMediaClient : public MojoMediaClient {
shell::mojom::InterfaceProvider* interface_provider) final;
private:
+ MediaPermission* media_permission_ = nullptr;
+
DISALLOW_COPY_AND_ASSIGN(AndroidMojoMediaClient);
};
« no previous file with comments | « media/base/android/media_drm_bridge.cc ('k') | media/mojo/services/android_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698