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

Unified Diff: chromecast/browser/cast_content_browser_client_simple.cc

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
Index: chromecast/browser/cast_content_browser_client_simple.cc
diff --git a/chromecast/browser/cast_content_browser_client_simple.cc b/chromecast/browser/cast_content_browser_client_simple.cc
index bde5a71d028865098286a23615b9c04678e3b76a..1df4685cf4fe2901deba0d68cb7a2f8f422aacf6 100644
--- a/chromecast/browser/cast_content_browser_client_simple.cc
+++ b/chromecast/browser/cast_content_browser_client_simple.cc
@@ -4,6 +4,7 @@
#include "chromecast/browser/cast_content_browser_client.h"
+#include "chromecast/media/cma/backend/media_pipeline_device.h"
#include "content/public/browser/browser_message_filter.h"
#include "media/audio/audio_manager_factory.h"
@@ -26,5 +27,13 @@ CastContentBrowserClient::PlatformCreateAudioManagerFactory() {
return scoped_ptr<::media::AudioManagerFactory>();
}
+#if !defined(OS_ANDROID)
+scoped_ptr<media::MediaPipelineDevice>
+CastContentBrowserClient::PlatformCreateMediaPipelineDevice(
+ const media::MediaPipelineDeviceParams& params) {
+ return media::CreateMediaPipelineDevice(params);
+}
+#endif
+
} // namespace shell
} // namespace chromecast
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/media/cma_message_filter_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698