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

Unified Diff: content/browser/media/media_interface_proxy.cc

Issue 2643743002: Mojify demuxers and allow running {Chunk/FFmpeg}Demuxer in a Utility Process (Closed)
Patch Set: Rebase and make sure to unbind mojom::DemuxerPtr on the bound thread during termination Created 3 years, 10 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 | « content/browser/media/media_interface_proxy.h ('k') | content/common/memory_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/media_interface_proxy.cc
diff --git a/content/browser/media/media_interface_proxy.cc b/content/browser/media/media_interface_proxy.cc
index 0c9342db509387134c5afc0b1be726055c09c09a..6f4a8908716199010889d8028e9e79eeace2f243 100644
--- a/content/browser/media/media_interface_proxy.cc
+++ b/content/browser/media/media_interface_proxy.cc
@@ -46,6 +46,17 @@ MediaInterfaceProxy::~MediaInterfaceProxy() {
DCHECK(thread_checker_.CalledOnValidThread());
}
+void MediaInterfaceProxy::CreateDemuxer(media::mojom::DemuxerRequest request) {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ GetMediaInterfaceFactory()->CreateDemuxer(std::move(request));
+}
+
+void MediaInterfaceProxy::CreateSourceBuffer(
+ media::mojom::SourceBufferRequest request) {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ GetMediaInterfaceFactory()->CreateSourceBuffer(std::move(request));
+}
+
void MediaInterfaceProxy::CreateAudioDecoder(
media::mojom::AudioDecoderRequest request) {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « content/browser/media/media_interface_proxy.h ('k') | content/common/memory_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698