OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/media/webmediaplayer_params.h" | 5 #include "webkit/media/webmediaplayer_params.h" |
6 | 6 |
7 #include "media/base/audio_renderer_sink.h" | 7 #include "media/base/audio_renderer_sink.h" |
8 #include "media/base/media_log.h" | 8 #include "media/base/media_log.h" |
9 | 9 |
10 namespace webkit_media { | 10 namespace webkit_media { |
11 | 11 |
12 WebMediaPlayerParams::WebMediaPlayerParams( | 12 WebMediaPlayerParams::WebMediaPlayerParams( |
13 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink, | 13 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink, |
14 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, | 14 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, |
15 MediaStreamClient* media_stream_client, | |
16 const scoped_refptr<media::MediaLog>& media_log) | 15 const scoped_refptr<media::MediaLog>& media_log) |
17 : audio_renderer_sink_(audio_renderer_sink), | 16 : audio_renderer_sink_(audio_renderer_sink), |
18 gpu_factories_(gpu_factories), | 17 gpu_factories_(gpu_factories), |
19 media_stream_client_(media_stream_client), | |
20 media_log_(media_log) { | 18 media_log_(media_log) { |
21 DCHECK(media_log_); | 19 DCHECK(media_log_); |
22 } | 20 } |
23 | 21 |
24 WebMediaPlayerParams::~WebMediaPlayerParams() {} | 22 WebMediaPlayerParams::~WebMediaPlayerParams() {} |
25 | 23 |
26 } // namespace webkit_media | 24 } // namespace webkit_media |
OLD | NEW |