OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "webkit/media/webmediaplayer_params.h" |
| 6 |
| 7 #include "media/base/audio_renderer_sink.h" |
| 8 #include "media/base/media_log.h" |
| 9 |
| 10 namespace webkit_media { |
| 11 |
| 12 WebMediaPlayerParams::WebMediaPlayerParams( |
| 13 WebKit::WebAudioSourceProvider* audio_source_provider, |
| 14 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink, |
| 15 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, |
| 16 MediaStreamClient* media_stream_client, |
| 17 const scoped_refptr<media::MediaLog>& media_log) |
| 18 : audio_source_provider_(audio_source_provider), |
| 19 audio_renderer_sink_(audio_renderer_sink), |
| 20 gpu_factories_(gpu_factories), |
| 21 media_stream_client_(media_stream_client), |
| 22 media_log_(media_log) { |
| 23 DCHECK(media_log_); |
| 24 } |
| 25 |
| 26 WebMediaPlayerParams::~WebMediaPlayerParams() {} |
| 27 |
| 28 } // namespace webkit_media |
OLD | NEW |