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

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

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address alokp@ comments Created 5 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/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 c109f93c3eeaa5380dfd90d25522c8f6c5ba7668..6a1d6f2cdefd113c39ec16001e87db6600876389 100644
--- a/chromecast/browser/media/cma_message_filter_host.h
+++ b/chromecast/browser/media/cma_message_filter_host.h
@@ -46,12 +46,12 @@ class CmaMessageFilterHost
public:
// Factory method to create a MediaPipelineBackend
typedef base::Callback<scoped_ptr<MediaPipelineBackend>(
- const MediaPipelineDeviceParams&)> CreateDeviceComponentsCB;
+ const MediaPipelineDeviceParams&)> CreateBackendCB;
CmaMessageFilterHost(int render_process_id,
scoped_refptr<CmaMediaPipelineClient> client);
- // content::BrowserMessageFilter implementation.
+ // content::BrowserMessageFilter implementation:
void OnChannelClosing() override;
void OnDestruct() const override;
bool OnMessageReceived(const IPC::Message& message) override;
@@ -114,8 +114,8 @@ class CmaMessageFilterHost
// Render process ID correponding to this message filter.
const int process_id_;
- // Factory function for device-specific part of media pipeline creation
- CreateDeviceComponentsCB create_device_components_cb_;
+ // Factory function for media pipeline backend.
+ CreateBackendCB create_backend_cb_;
scoped_refptr<CmaMediaPipelineClient> client_;
// List of media pipeline and message loop media pipelines are running on.
« no previous file with comments | « chromecast/browser/media/cma_media_pipeline_client.cc ('k') | chromecast/browser/media/media_pipeline_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698