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

Unified Diff: webkit/renderer/media/webmediaplayer_params.h

Issue 18123002: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delegates Created 7 years, 6 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
Index: webkit/renderer/media/webmediaplayer_params.h
diff --git a/webkit/renderer/media/webmediaplayer_params.h b/webkit/renderer/media/webmediaplayer_params.h
deleted file mode 100644
index 62a5ce187c7e1b4d444ab8f09bca01541ffa2e1d..0000000000000000000000000000000000000000
--- a/webkit/renderer/media/webmediaplayer_params.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef WEBKIT_RENDERER_MEDIA_WEBMEDIAPLAYER_PARAMS_H_
-#define WEBKIT_RENDERER_MEDIA_WEBMEDIAPLAYER_PARAMS_H_
-
-#include "base/memory/ref_counted.h"
-#include "media/filters/gpu_video_decoder.h"
-
-namespace base {
-class MessageLoopProxy;
-}
-
-namespace media {
-class AudioRendererSink;
-class MediaLog;
-}
-
-namespace webkit_media {
-
-// Holds parameters for constructing WebMediaPlayerImpl without having
-// to plumb arguments through various abstraction layers.
-class WebMediaPlayerParams {
- public:
- // |message_loop_proxy| and |media_log| are the only required parameters;
- // all others may be null.
- WebMediaPlayerParams(
- const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy,
- const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink,
- const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories,
- const scoped_refptr<media::MediaLog>& media_log);
- ~WebMediaPlayerParams();
-
- const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy() const {
- return message_loop_proxy_;
- }
-
- const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink() const {
- return audio_renderer_sink_;
- }
-
- const scoped_refptr<media::GpuVideoDecoder::Factories>&
- gpu_factories() const {
- return gpu_factories_;
- }
-
- const scoped_refptr<media::MediaLog>& media_log() const {
- return media_log_;
- }
-
- private:
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
- scoped_refptr<media::AudioRendererSink> audio_renderer_sink_;
- scoped_refptr<media::GpuVideoDecoder::Factories> gpu_factories_;
- scoped_refptr<media::MediaLog> media_log_;
-
- DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerParams);
-};
-
-} // namespace media
-
-#endif // WEBKIT_RENDERER_MEDIA_WEBMEDIAPLAYER_PARAMS_H_

Powered by Google App Engine
This is Rietveld 408576698