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.
5 #include "webkit/media/webmediaplayer_params.h"
7 #include "media/base/audio_renderer_sink.h"
8 #include "media/base/media_log.h"
10 namespace webkit_media
{
12 WebMediaPlayerParams::WebMediaPlayerParams(
13 const scoped_refptr
<media::AudioRendererSink
>& audio_renderer_sink
,
14 const scoped_refptr
<media::GpuVideoDecoder::Factories
>& gpu_factories
,
15 const scoped_refptr
<media::MediaLog
>& media_log
)
16 : audio_renderer_sink_(audio_renderer_sink
),
17 gpu_factories_(gpu_factories
),
18 media_log_(media_log
) {
22 WebMediaPlayerParams::~WebMediaPlayerParams() {}
24 } // namespace webkit_media