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

Unified Diff: chromecast/browser/cast_content_browser_client.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 | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_browser_client.h
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h
index 5e5c262f92a103087e4856b5e9ec9a72bf0bc45f..f15537a1fd5dfe7a4cde100ec1d7151f593cb0b3 100644
--- a/chromecast/browser/cast_content_browser_client.h
+++ b/chromecast/browser/cast_content_browser_client.h
@@ -30,6 +30,11 @@ class HostResolver;
}
namespace chromecast {
+namespace media {
+class MediaPipelineDevice;
+class MediaPipelineDeviceParams;
+}
+
namespace shell {
class CastBrowserMainParts;
@@ -48,6 +53,13 @@ class CastContentBrowserClient: public content::ContentBrowserClient {
std::vector<scoped_refptr<content::BrowserMessageFilter>>
PlatformGetBrowserMessageFilters();
+#if !defined(OS_ANDROID)
+ // Creates a MediaPipelineDevice (CMA backend) for media playback, called
+ // once per media player instance.
+ scoped_ptr<media::MediaPipelineDevice> PlatformCreateMediaPipelineDevice(
+ const media::MediaPipelineDeviceParams& params);
+#endif
+
// content::ContentBrowserClient implementation:
content::BrowserMainParts* CreateBrowserMainParts(
const content::MainFunctionParams& parameters) override;
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698