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

Unified Diff: ppapi/c/private/pp_content_decryptor.h

Issue 1050823009: Handle all possible cdm::Status values before passing through Pepper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: ppapi/c/private/pp_content_decryptor.h
diff --git a/ppapi/c/private/pp_content_decryptor.h b/ppapi/c/private/pp_content_decryptor.h
index 3151fc31e24f08c48f1f0989948a2ee340141007..0ba2579f568e0600ecb6aec9a588c40c9f882231 100644
--- a/ppapi/c/private/pp_content_decryptor.h
+++ b/ppapi/c/private/pp_content_decryptor.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/pp_content_decryptor.idl modified Thu Mar 19 16:04:42 2015. */
+/* From private/pp_content_decryptor.idl modified Wed Apr 22 13:38:55 2015. */
#ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
#define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
@@ -171,7 +171,11 @@ typedef enum {
/** An unexpected error happened during decryption. */
PP_DECRYPTRESULT_DECRYPT_ERROR = 3,
/** An unexpected error happened during decoding. */
- PP_DECRYPTRESULT_DECODE_ERROR = 4
+ PP_DECRYPTRESULT_DECODE_ERROR = 4,
+ /** Session management error. */
+ PP_DECRYPTRESULT_SESSION_ERROR = 5,
+ /** Decoder is not ready for initialization. */
+ PP_DECRYPTRESULT_DEFERRED_INITIALIZATION = 6
} PP_DecryptResult;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DecryptResult, 4);
/**
« ppapi/api/private/pp_content_decryptor.idl ('K') | « ppapi/api/private/pp_content_decryptor.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698