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

Unified Diff: media/mojo/services/mojo_media_client.h

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 | « media/mojo/services/mojo_demuxer_service_context.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_media_client.h
diff --git a/media/mojo/services/mojo_media_client.h b/media/mojo/services/mojo_media_client.h
index f376ffd999fc1a52b1771b06f34004f80098aa01..9b5ecb7f81d757d2fda939946c9aef2a4ca02fe9 100644
--- a/media/mojo/services/mojo_media_client.h
+++ b/media/mojo/services/mojo_media_client.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/memory/ref_counted.h"
+#include "media/base/demuxer.h"
#include "media/mojo/interfaces/video_decoder.mojom.h"
#include "media/mojo/services/media_mojo_export.h"
@@ -28,6 +29,7 @@ namespace media {
class AudioDecoder;
class AudioRendererSink;
class CdmFactory;
+class DemuxerFactory;
class MediaLog;
class RendererFactory;
class VideoDecoder;
@@ -65,6 +67,10 @@ class MEDIA_MOJO_EXPORT MojoMediaClient {
virtual std::unique_ptr<RendererFactory> CreateRendererFactory(
const scoped_refptr<MediaLog>& media_log);
+ // Returns the DemuxerFactory to be used by MojoDemuxerService.
+ virtual std::unique_ptr<DemuxerFactory> CreateDemuxerFactory(
+ const scoped_refptr<MediaLog>& media_log);
+
// Returns the CdmFactory to be used by MojoCdmService. |host_interfaces| can
// be used to request interfaces provided remotely by the host. It may be a
// nullptr if the host chose not to bind the InterfacePtr.
« no previous file with comments | « media/mojo/services/mojo_demuxer_service_context.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698