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

Unified Diff: chromecast/browser/media/cma_message_filter_host.h

Issue 1841273002: [chromecast] Fix build with enable_mojo_media=true. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 9 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 | « chromecast/browser/media/cast_renderer.cc ('k') | chromecast/browser/media/cma_message_filter_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/media/cma_message_filter_host.h
diff --git a/chromecast/browser/media/cma_message_filter_host.h b/chromecast/browser/media/cma_message_filter_host.h
index f976ad1c12dba0d2f0d4443f922bc0f7ddea023b..dece09feac9933662fb7251323a235968dee662d 100644
--- a/chromecast/browser/media/cma_message_filter_host.h
+++ b/chromecast/browser/media/cma_message_filter_host.h
@@ -13,6 +13,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/shared_memory.h"
#include "base/memory/weak_ptr.h"
+#include "chromecast/browser/media/media_pipeline_backend_factory.h"
#include "chromecast/common/media/cma_ipc_common.h"
#include "chromecast/media/base/media_resource_tracker.h"
#include "chromecast/media/cma/pipeline/load_type.h"
@@ -40,19 +41,13 @@ namespace chromecast {
namespace media {
class BrowserCdmCast;
-class MediaPipelineBackend;
-struct MediaPipelineDeviceParams;
class MediaPipelineHost;
class CmaMessageFilterHost
: public content::BrowserMessageFilter {
public:
- // Factory method to create a MediaPipelineBackend
- typedef base::Callback<scoped_ptr<MediaPipelineBackend>(
- const MediaPipelineDeviceParams&)> CreateBackendCB;
-
CmaMessageFilterHost(int render_process_id,
- const CreateBackendCB& create_backend_cb,
+ const CreateMediaPipelineBackendCB& create_backend_cb,
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
MediaResourceTracker* resource_tracker);
@@ -120,7 +115,7 @@ class CmaMessageFilterHost
const int process_id_;
// Factory function for media pipeline backend.
- CreateBackendCB create_backend_cb_;
+ CreateMediaPipelineBackendCB create_backend_cb_;
// List of media pipeline and message loop media pipelines are running on.
MediaPipelineMap media_pipelines_;
« no previous file with comments | « chromecast/browser/media/cast_renderer.cc ('k') | chromecast/browser/media/cma_message_filter_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698