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 |