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

Unified Diff: media/mojo/interfaces/demuxer_stream.mojom

Issue 2416183002: media: Use native DemuxerStream enum types in media mojo interfaces (Closed)
Patch Set: comments addressed Created 4 years, 2 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/common/media_type_converters.cc ('k') | media/mojo/interfaces/demuxer_stream.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/demuxer_stream.mojom
diff --git a/media/mojo/interfaces/demuxer_stream.mojom b/media/mojo/interfaces/demuxer_stream.mojom
index 98f3dc7a133771c1ecd67dc2f4f3aa49282cde94..3433ab3335043f74e7997b9713724c2b58e3ebba 100644
--- a/media/mojo/interfaces/demuxer_stream.mojom
+++ b/media/mojo/interfaces/demuxer_stream.mojom
@@ -11,19 +11,12 @@ import "media/mojo/interfaces/media_types.mojom";
// different applications.
interface DemuxerStream {
// See media::DemuxerStream for descriptions.
- enum Type {
- UNKNOWN,
- AUDIO,
- VIDEO,
- LAST_TYPE = VIDEO,
- };
+ [Native]
+ enum Type;
// See media::DemuxerStream for descriptions.
- enum Status {
- OK = 0,
- ABORTED,
- CONFIG_CHANGED,
- };
+ [Native]
+ enum Status;
// Initializes the DemuxerStream. Read() can only be called after the callback
// is received. The returned |pipe| will be used to fill out the data section
« no previous file with comments | « media/mojo/common/media_type_converters.cc ('k') | media/mojo/interfaces/demuxer_stream.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698