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

Unified Diff: media/base/demuxer.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/base/BUILD.gn ('k') | media/base/demuxer_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index 71cdc6d14a91518950aa7d1dc943568937dff761..350d87f0233fe899bc8ab446a0eda88594795a94 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -60,6 +60,13 @@ class MEDIA_EXPORT DemuxerHost {
class MEDIA_EXPORT Demuxer : public MediaResource {
public:
+ enum LoadType {
+ LoadTypeURL = 0,
+ LoadTypeMediaSource = 1,
+ LoadTypeMediaStream = 2,
+ LoadTypeMax = LoadTypeMediaStream,
+ };
+
// A new potentially encrypted stream has been parsed.
// First parameter - The type of initialization data.
// Second parameter - The initialization data associated with the stream.
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/demuxer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698