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

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

Issue 1797393007: Connect MojoAudioDecoder to the service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created AudioDecoder in MediaInterfaceProvider Created 4 years, 9 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 | media/base/decoder_factory.h » ('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 288613b1d8d35d4950535ff9789bcc244b84a59d..e19723a7c4b5cf216e9a32c81c10b2802ae7a7b1 100644
--- a/content/renderer/media/media_interface_provider.cc
+++ b/content/renderer/media/media_interface_provider.cc
@@ -34,6 +34,9 @@ void MediaInterfaceProvider::GetInterface(const mojo::String& interface_name,
} else if (interface_name == media::interfaces::Renderer::Name_) {
GetMediaServiceFactory()->CreateRenderer(
mojo::MakeRequest<media::interfaces::Renderer>(std::move(pipe)));
+ } else if (interface_name == media::interfaces::AudioDecoder::Name_) {
+ GetMediaServiceFactory()->CreateAudioDecoder(
+ mojo::MakeRequest<media::interfaces::AudioDecoder>(std::move(pipe)));
} else {
NOTREACHED();
}
« no previous file with comments | « no previous file | media/base/decoder_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698