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

Unified Diff: chromecast/media/cma/backend/media_pipeline_device.cc

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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: chromecast/media/cma/backend/media_pipeline_device.cc
diff --git a/chromecast/media/cma/backend/media_pipeline_device.cc b/chromecast/media/cma/backend/media_pipeline_device.cc
deleted file mode 100644
index ec2370b553dc0633b194ac9257b683e71679aa82..0000000000000000000000000000000000000000
--- a/chromecast/media/cma/backend/media_pipeline_device.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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 "chromecast/media/cma/backend/media_pipeline_device.h"
-
-#include "chromecast/media/cma/backend/audio_pipeline_device_default.h"
-#include "chromecast/media/cma/backend/media_clock_device_default.h"
-#include "chromecast/media/cma/backend/media_pipeline_device_factory.h"
-#include "chromecast/media/cma/backend/video_pipeline_device_default.h"
-
-namespace chromecast {
-namespace media {
-
-MediaPipelineDevice::MediaPipelineDevice(
- scoped_ptr<MediaPipelineDeviceFactory> factory)
- : media_clock_device_(factory->CreateMediaClockDevice()),
- audio_pipeline_device_(factory->CreateAudioPipelineDevice()),
- video_pipeline_device_(factory->CreateVideoPipelineDevice()) {
-}
-
-MediaPipelineDevice::MediaPipelineDevice(
- scoped_ptr<MediaClockDevice> media_clock_device,
- scoped_ptr<AudioPipelineDevice> audio_pipeline_device,
- scoped_ptr<VideoPipelineDevice> video_pipeline_device)
- : media_clock_device_(media_clock_device.Pass()),
- audio_pipeline_device_(audio_pipeline_device.Pass()),
- video_pipeline_device_(video_pipeline_device.Pass()) {
-}
-
-MediaPipelineDevice::~MediaPipelineDevice() {
-}
-
-} // namespace media
-} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698