Index: ppapi/thunk/ppb_instance_api.h |
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h |
index 97fd0b68877a98c39e4596b9e65e0c5faf4129b0..aee4df5fafb34133cd50b2b1f27d266f50e8acb3 100644 |
--- a/ppapi/thunk/ppb_instance_api.h |
+++ b/ppapi/thunk/ppb_instance_api.h |
@@ -66,6 +66,34 @@ class PPB_Instance_API { |
PP_Var source, |
PP_Var value) = 0; |
+ // Content Decryption Module. |
+ virtual void NeedKey(PP_Instance instance, |
+ PP_Var key_system, |
+ PP_Var session_id, |
+ PP_Resource init_data) = 0; |
+ virtual void KeyAdded(PP_Instance instance, |
+ PP_Var key_system, |
+ PP_Var session_id) = 0; |
+ virtual void KeyMessage(PP_Instance instance, |
+ PP_Var key_system, |
+ PP_Var session_id, |
+ PP_Resource message, |
+ PP_Var default_url) = 0; |
+ virtual void KeyError(PP_Instance instance, |
+ PP_Var key_system, |
+ PP_Var session_id, |
+ uint16_t media_error, |
+ uint16_t system_error) = 0; |
+ virtual void DeliverBlock(PP_Instance instance, |
+ PP_Resource decrypted_block, |
+ PP_CompletionCallback callback) = 0; |
+ virtual void DeliverFrame(PP_Instance instance, |
+ PP_Resource decrypted_frame, |
+ PP_CompletionCallback callback) = 0; |
+ virtual void DeliverSamples(PP_Instance instance, |
+ PP_Resource decrypted_samples, |
+ PP_CompletionCallback callback) = 0; |
+ |
// Find. |
virtual void NumberOfFindResultsChanged(PP_Instance instance, |
int32_t total, |