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

Unified Diff: media/base/decryptor.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 | « no previous file | media/base/demuxer_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 4f69ec7b96be38f73497c62b6a868d55b864c08f..58c92e6a9c9c598fd76b4a8e9612f8226d4a2f31 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -33,11 +33,11 @@ class MEDIA_EXPORT Decryptor {
kNoKey, // No key is available to decrypt.
kNeedMoreData, // Decoder needs more data to produce a frame.
kError, // Key is available but an error occurred during decryption.
- STATUS_MAX = kError
+ kStatusMax = kError
};
// TODO(xhwang): Unify this with DemuxerStream::Type.
- enum StreamType { kAudio, kVideo, STREAM_TYPE_MAX = kVideo };
+ enum StreamType { kAudio, kVideo, kStreamTypeMax = kVideo };
Decryptor();
virtual ~Decryptor();
« no previous file with comments | « no previous file | media/base/demuxer_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698