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

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

Issue 2879703003: [chromecast] Moves CastAudioOutputStream::Backend to CMA thread. (Closed)
Patch Set: addressed comments Created 3 years, 7 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_backend_factory.cc
diff --git a/chromecast/media/cma/backend/media_pipeline_backend_factory.cc b/chromecast/media/cma/backend/media_pipeline_backend_factory.cc
deleted file mode 100644
index d6df9d7e3ceb0c0fb5fc04b21efb4858aeadc204..0000000000000000000000000000000000000000
--- a/chromecast/media/cma/backend/media_pipeline_backend_factory.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2017 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_backend_factory.h"
-
-#include "chromecast/media/cma/backend/media_pipeline_backend_manager.h"
-#include "chromecast/public/media/media_pipeline_backend.h"
-#include "chromecast/public/media/media_pipeline_device_params.h"
-
-namespace chromecast {
-namespace media {
-
-MediaPipelineBackendFactory::MediaPipelineBackendFactory(
- MediaPipelineBackendManager* media_pipeline_backend_manager)
- : media_pipeline_backend_manager_(media_pipeline_backend_manager) {
- DCHECK(media_pipeline_backend_manager_);
-}
-
-MediaPipelineBackendFactory::~MediaPipelineBackendFactory() {}
-
-std::unique_ptr<MediaPipelineBackend>
-MediaPipelineBackendFactory::CreateBackend(
- const MediaPipelineDeviceParams& params) {
- return media_pipeline_backend_manager_->CreateMediaPipelineBackend(params);
-}
-
-} // namespace media
-} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698