Index: media/base/decryptor.h |
diff --git a/media/base/decryptor.h b/media/base/decryptor.h |
index 29c4617d243f815368c718230fbab61957cae720..11865947ef08f1dc13751b2f71978bd0cc13930b 100644 |
--- a/media/base/decryptor.h |
+++ b/media/base/decryptor.h |
@@ -32,7 +32,7 @@ class MEDIA_EXPORT Decryptor { |
kDomainError |
}; |
- enum DecryptStatus { |
+ enum Status { |
kSuccess, // Decryption successfully completed. Decrypted buffer ready. |
kNoKey, // No key is available to decrypt. |
kError // Key is available but an error occurred during decryption. |
@@ -73,7 +73,7 @@ class MEDIA_EXPORT Decryptor { |
// |encrypted| buffer. In this case the decrypted buffer must be NULL. |
// If the returned status is kError, unexpected error has occurred. In this |
// case the decrypted buffer must be NULL. |
- typedef base::Callback<void(DecryptStatus, |
+ typedef base::Callback<void(Status, |
const scoped_refptr<DecoderBuffer>&)> DecryptCB; |
virtual void Decrypt(const scoped_refptr<DecoderBuffer>& encrypted, |
const DecryptCB& decrypt_cb) = 0; |