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

Unified Diff: media/base/demuxer_stream.h

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/base/decryptor.h ('k') | media/base/ipc/media_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer_stream.h
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h
index c90de790abed2ab8c8e0119545b4e1979066bf49..82d5d048318fad1994c5b8fd445fad527f39e93c 100644
--- a/media/base/demuxer_stream.h
+++ b/media/base/demuxer_stream.h
@@ -24,13 +24,14 @@ class MEDIA_EXPORT DemuxerStream {
AUDIO,
VIDEO,
TEXT,
- NUM_TYPES, // Always keep this entry as the last one!
+ TYPE_MAX = TEXT,
};
enum Liveness {
LIVENESS_UNKNOWN,
LIVENESS_RECORDED,
LIVENESS_LIVE,
+ LIVENESS_MAX = LIVENESS_LIVE,
};
// Status returned in the Read() callback.
@@ -54,6 +55,7 @@ class MEDIA_EXPORT DemuxerStream {
kOk,
kAborted,
kConfigChanged,
+ kStatusMax = kConfigChanged,
};
// Request a buffer to returned via the provided callback.
« no previous file with comments | « media/base/decryptor.h ('k') | media/base/ipc/media_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698