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

Unified Diff: content/renderer/media/media_interface_provider.cc

Issue 2016053003: Add audio_device_id in mojo media ServiceFactory CreateRenderer api. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Minor change based on the comment Created 4 years, 5 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') | media/mojo/interfaces/service_factory.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_interface_provider.cc
diff --git a/content/renderer/media/media_interface_provider.cc b/content/renderer/media/media_interface_provider.cc
index 8e3968e2182dc0f0c44ab401a1b891c7e04c5d21..51ac79bd52d372641addbb530356bb50256f0893 100644
--- a/content/renderer/media/media_interface_provider.cc
+++ b/content/renderer/media/media_interface_provider.cc
@@ -4,6 +4,8 @@
#include "content/renderer/media/media_interface_provider.h"
+#include <string>
+
#include "base/bind.h"
#include "media/mojo/interfaces/content_decryption_module.mojom.h"
#include "media/mojo/interfaces/renderer.mojom.h"
@@ -33,6 +35,7 @@ void MediaInterfaceProvider::GetInterface(const mojo::String& interface_name,
std::move(pipe)));
} else if (interface_name == media::mojom::Renderer::Name_) {
GetMediaServiceFactory()->CreateRenderer(
+ std::string(),
mojo::MakeRequest<media::mojom::Renderer>(std::move(pipe)));
} else if (interface_name == media::mojom::AudioDecoder::Name_) {
GetMediaServiceFactory()->CreateAudioDecoder(
« no previous file with comments | « chromecast/browser/media/media_pipeline_host.cc ('k') | media/mojo/interfaces/service_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698