Index: media/blink/webmediaplayer_params.h |
diff --git a/media/blink/webmediaplayer_params.h b/media/blink/webmediaplayer_params.h |
index 9ed1f8218271ed20bded646524675aa074095c87..b40026befbffd4d859f0df5d6c7f2c843d5b8be5 100644 |
--- a/media/blink/webmediaplayer_params.h |
+++ b/media/blink/webmediaplayer_params.h |
@@ -21,6 +21,7 @@ class TaskRunner; |
namespace blink { |
class WebContentDecryptionModule; |
class WebMediaPlayerClient; |
+class WebMediaSession; |
} |
namespace media { |
@@ -55,7 +56,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams { |
const Context3DCB& context_3d, |
const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb, |
MediaPermission* media_permission, |
- blink::WebContentDecryptionModule* initial_cdm); |
+ blink::WebContentDecryptionModule* initial_cdm, |
+ blink::WebMediaSession* session); |
~WebMediaPlayerParams(); |
@@ -95,6 +97,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams { |
return adjust_allocated_memory_cb_; |
} |
+ blink::WebMediaSession* session() const { return session_; } |
+ |
private: |
DeferLoadCB defer_load_cb_; |
scoped_refptr<RestartableAudioRendererSink> audio_renderer_sink_; |
@@ -109,6 +113,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams { |
MediaPermission* media_permission_; |
blink::WebContentDecryptionModule* initial_cdm_; |
+ blink::WebMediaSession* session_; |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerParams); |
}; |