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

Unified Diff: media/blink/webmediaplayer_params.cc

Issue 2204673004: WIP - WebMediaPlayer switch media renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add switching of CdmFactory. Created 4 years, 4 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/webmediaplayer_params.cc
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc
index 9ad3ba2322920b15bb2597e6b07616f007f5e7a3..20c992b363baccf4fbd090ec8b820f557f824bc6 100644
--- a/media/blink/webmediaplayer_params.cc
+++ b/media/blink/webmediaplayer_params.cc
@@ -20,6 +20,7 @@ WebMediaPlayerParams::WebMediaPlayerParams(
const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner,
const Context3DCB& context_3d_cb,
const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb,
+ const IsRemoteCdmCB& is_remote_cdm_cb,
blink::WebContentDecryptionModule* initial_cdm,
SurfaceManager* surface_manager,
blink::WebMediaSession* media_session)
@@ -33,7 +34,8 @@ WebMediaPlayerParams::WebMediaPlayerParams(
adjust_allocated_memory_cb_(adjust_allocated_memory_cb),
initial_cdm_(initial_cdm),
surface_manager_(surface_manager),
- media_session_(media_session) {}
+ media_session_(media_session),
+ is_remote_cdm_cb_(is_remote_cdm_cb) {}
WebMediaPlayerParams::~WebMediaPlayerParams() {}

Powered by Google App Engine
This is Rietveld 408576698