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

Unified Diff: media/base/demuxer_stream.h

Issue 2416183002: media: Use native DemuxerStream enum types in media mojo interfaces (Closed)
Patch Set: more fix and rebase 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 | « no previous file | media/base/ipc/media_param_traits_macros.h » ('j') | media/base/stream_parser_unittest.cc » ('J')
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..4cf5565f9839921905548c1b58982436b03fcdad 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,
+ STATUS_MAX = kConfigChanged,
};
// Request a buffer to returned via the provided callback.
« no previous file with comments | « no previous file | media/base/ipc/media_param_traits_macros.h » ('j') | media/base/stream_parser_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698