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

Unified Diff: webkit/media/webmediaplayer_params.cc

Issue 11468033: Vanquish the remnants of media::MessageLoopFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/media/webmediaplayer_params.h ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_params.cc
diff --git a/webkit/media/webmediaplayer_params.cc b/webkit/media/webmediaplayer_params.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b860531601b27ff68f68327fc74a65c8b0c91899
--- /dev/null
+++ b/webkit/media/webmediaplayer_params.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "webkit/media/webmediaplayer_params.h"
+
+#include "media/base/audio_renderer_sink.h"
+#include "media/base/media_log.h"
+
+namespace webkit_media {
+
+WebMediaPlayerParams::WebMediaPlayerParams(
+ WebKit::WebAudioSourceProvider* audio_source_provider,
+ const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink,
+ const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories,
+ MediaStreamClient* media_stream_client,
+ const scoped_refptr<media::MediaLog>& media_log)
+ : audio_source_provider_(audio_source_provider),
+ audio_renderer_sink_(audio_renderer_sink),
+ gpu_factories_(gpu_factories),
+ media_stream_client_(media_stream_client),
+ media_log_(media_log) {
+ DCHECK(media_log_);
+}
+
+WebMediaPlayerParams::~WebMediaPlayerParams() {}
+
+} // namespace webkit_media
« no previous file with comments | « webkit/media/webmediaplayer_params.h ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698