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

Side by Side Diff: webkit/media/webmediaplayer_params.cc

Issue 11830004: Refactor content::RenderAudioSourceProvider as webkit_media::WebAudioSourceProviderImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 WebKit::WebAudioSourceProvider* audio_source_provider,
14 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink, 13 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink,
15 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, 14 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories,
16 MediaStreamClient* media_stream_client, 15 MediaStreamClient* media_stream_client,
17 const scoped_refptr<media::MediaLog>& media_log) 16 const scoped_refptr<media::MediaLog>& media_log)
18 : audio_source_provider_(audio_source_provider), 17 : audio_renderer_sink_(audio_renderer_sink),
19 audio_renderer_sink_(audio_renderer_sink),
20 gpu_factories_(gpu_factories), 18 gpu_factories_(gpu_factories),
21 media_stream_client_(media_stream_client), 19 media_stream_client_(media_stream_client),
22 media_log_(media_log) { 20 media_log_(media_log) {
23 DCHECK(media_log_); 21 DCHECK(media_log_);
24 } 22 }
25 23
26 WebMediaPlayerParams::~WebMediaPlayerParams() {} 24 WebMediaPlayerParams::~WebMediaPlayerParams() {}
27 25
28 } // namespace webkit_media 26 } // namespace webkit_media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698