Index: media/base/video_decoder.h |
diff --git a/media/base/video_decoder.h b/media/base/video_decoder.h |
index c8c19b7329395dd6c58b70d759d9277cb22a5cbb..c8fd93d35f19733e6e7dc37db013081e27139edb 100644 |
--- a/media/base/video_decoder.h |
+++ b/media/base/video_decoder.h |
@@ -20,7 +20,7 @@ class MEDIA_EXPORT VideoDecoder |
: public base::RefCountedThreadSafe<VideoDecoder> { |
public: |
// Status codes for read operations on VideoDecoder. |
- enum DecoderStatus { |
+ enum Status { |
kOk, // Everything went as planned. |
kDecodeError, // Decoding error happened. |
kDecryptError // Decrypting error happened. |
@@ -47,8 +47,7 @@ class MEDIA_EXPORT VideoDecoder |
// frames contain decoded video data or may indicate the end of the stream. |
// NULL video frames indicate an aborted read. This can happen if the |
// DemuxerStream gets flushed and doesn't have any more data to return. |
- typedef base::Callback<void(DecoderStatus, |
- const scoped_refptr<VideoFrame>&)> ReadCB; |
+ typedef base::Callback<void(Status, const scoped_refptr<VideoFrame>&)> ReadCB; |
virtual void Read(const ReadCB& read_cb) = 0; |
// Reset decoder state, fulfilling all pending ReadCB and dropping extra |