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

Unified Diff: media/blink/webmediaplayer_params.cc

Issue 2389473002: Media Remoting: Add RemotingController. (Closed)
Patch Set: Rebased. Created 4 years, 2 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/blink/webmediaplayer_params.h ('k') | media/media_options.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_params.cc
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc
index bac6682f3176a03a79bde1ca94c8d2ad6d0c0ae8..18bfecbebce6b8a71be7cd75b0138ed8157f3b5f 100644
--- a/media/blink/webmediaplayer_params.cc
+++ b/media/blink/webmediaplayer_params.cc
@@ -21,7 +21,8 @@ WebMediaPlayerParams::WebMediaPlayerParams(
const Context3DCB& context_3d_cb,
const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb,
blink::WebContentDecryptionModule* initial_cdm,
- SurfaceManager* surface_manager)
+ SurfaceManager* surface_manager,
+ base::WeakPtr<MediaObserver> media_observer)
: defer_load_cb_(defer_load_cb),
audio_renderer_sink_(audio_renderer_sink),
media_log_(media_log),
@@ -31,7 +32,8 @@ WebMediaPlayerParams::WebMediaPlayerParams(
context_3d_cb_(context_3d_cb),
adjust_allocated_memory_cb_(adjust_allocated_memory_cb),
initial_cdm_(initial_cdm),
- surface_manager_(surface_manager) {}
+ surface_manager_(surface_manager),
+ media_observer_(media_observer) {}
WebMediaPlayerParams::~WebMediaPlayerParams() {}
« no previous file with comments | « media/blink/webmediaplayer_params.h ('k') | media/media_options.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698