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

Unified Diff: content/renderer/media/webmediaplayer_params.cc

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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 | « content/renderer/media/webmediaplayer_params.h ('k') | content/renderer/media/webmediaplayer_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_params.cc
diff --git a/content/renderer/media/webmediaplayer_params.cc b/content/renderer/media/webmediaplayer_params.cc
deleted file mode 100644
index 5daa7d0f5632bf044744ef0a9cff6fe8361bcf37..0000000000000000000000000000000000000000
--- a/content/renderer/media/webmediaplayer_params.cc
+++ /dev/null
@@ -1,44 +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.
-
-#include "content/renderer/media/webmediaplayer_params.h"
-
-#include "base/single_thread_task_runner.h"
-#include "media/base/audio_renderer_sink.h"
-#include "media/base/media_log.h"
-#include "media/filters/gpu_video_accelerator_factories.h"
-
-namespace content {
-
-WebMediaPlayerParams::WebMediaPlayerParams(
- const base::Callback<void(const base::Closure&)>& defer_load_cb,
- const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink,
- const media::AudioHardwareConfig& audio_hardware_config,
- const scoped_refptr<media::MediaLog>& media_log,
- const scoped_refptr<media::GpuVideoAcceleratorFactories>& gpu_factories,
- const scoped_refptr<base::SingleThreadTaskRunner>&
- media_task_runner,
- const scoped_refptr<base::SingleThreadTaskRunner>&
- compositor_task_runner,
- const EncryptedMediaPlayerSupportCreateCB&
- encrypted_media_player_support_cb)
- : defer_load_cb_(defer_load_cb),
- audio_renderer_sink_(audio_renderer_sink),
- audio_hardware_config_(audio_hardware_config),
- media_log_(media_log),
- gpu_factories_(gpu_factories),
- media_task_runner_(media_task_runner),
- compositor_task_runner_(compositor_task_runner),
- encrypted_media_player_support_cb_(encrypted_media_player_support_cb) {
-}
-
-WebMediaPlayerParams::~WebMediaPlayerParams() {}
-
-scoped_ptr<EncryptedMediaPlayerSupport>
-WebMediaPlayerParams::CreateEncryptedMediaPlayerSupport(
- blink::WebMediaPlayerClient* client) const {
- return encrypted_media_player_support_cb_.Run(client);
-}
-
-} // namespace content
« no previous file with comments | « content/renderer/media/webmediaplayer_params.h ('k') | content/renderer/media/webmediaplayer_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698