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

Unified Diff: chromecast/media/cma/backend/media_pipeline_device.h

Issue 1168643004: Allow CastContentBrowserClient to customise media pipeline device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment updates + Android exclusion Created 5 years, 6 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/media_pipeline_host.cc ('k') | chromecast/renderer/cast_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/backend/media_pipeline_device.h
diff --git a/chromecast/media/cma/backend/media_pipeline_device.h b/chromecast/media/cma/backend/media_pipeline_device.h
index 8a961dc7fda7c3e6faf1cdb3af87f4655cd9de41..4b73d6cd8fffc3cb0756383ef5652ce947376396 100644
--- a/chromecast/media/cma/backend/media_pipeline_device.h
+++ b/chromecast/media/cma/backend/media_pipeline_device.h
@@ -5,6 +5,7 @@
#ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
#define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
+#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -32,7 +33,12 @@ class MediaPipelineDevice {
DISALLOW_COPY_AND_ASSIGN(MediaPipelineDevice);
};
-// Factory to create a MediaPipelineDevice.
+// Factory method to create a MediaPipelineDevice.
+typedef base::Callback<scoped_ptr<MediaPipelineDevice>(
+ const MediaPipelineDeviceParams&)> CreatePipelineDeviceCB;
+
+// Direct creation of vendor-specific media device pipeline.
+// TODO(halliwell): move into libcast_media
scoped_ptr<MediaPipelineDevice> CreateMediaPipelineDevice(
const MediaPipelineDeviceParams& params);
« no previous file with comments | « chromecast/browser/media/media_pipeline_host.cc ('k') | chromecast/renderer/cast_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698