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

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

Issue 622853002: Chromecast: adds interfaces for hardware layer of CMA pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-decrypt-context
Patch Set: rebased onto CMA testing CL Created 6 years, 2 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_fake_factory.cc
diff --git a/chromecast/media/cma/backend/media_pipeline_device_fake_factory.cc b/chromecast/media/cma/backend/media_pipeline_device_fake_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..645ece546c519f4c3ebdb398c82bf703d7054354
--- /dev/null
+++ b/chromecast/media/cma/backend/media_pipeline_device_fake_factory.cc
@@ -0,0 +1,18 @@
+// 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_fake.h"
+
+#include "base/memory/scoped_ptr.h"
+
+namespace chromecast {
+namespace media {
+
+scoped_ptr<MediaPipelineDevice> CreateMediaPipelineDevice(
+ const MediaPipelineDevice::CreateParameters& params) {
+ return scoped_ptr<MediaPipelineDevice>(new MediaPipelineDeviceFake());
+}
+
+} // namespace media
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698