Index: ppapi/thunk/ppb_instance_api.h |
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h |
index 9b4e644c581f18bb940738a4eb645863d19a80e3..2044e28f5ce7b53b3705f744f34c7c2e5fc8805d 100644 |
--- a/ppapi/thunk/ppb_instance_api.h |
+++ b/ppapi/thunk/ppb_instance_api.h |
@@ -69,6 +69,34 @@ class PPB_Instance_API { |
PP_Var source, |
PP_Var value) = 0; |
+ // Content Decryptor. |
+ virtual void NeedKey(PP_Instance instance, |
+ PP_Var key_system, |
+ PP_Var session_id, |
+ PP_Var 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, |
+ int32_t media_error, |
+ int32_t system_error) = 0; |
+ virtual void DeliverBlock(PP_Instance instance, |
+ PP_Resource decrypted_block, |
+ int32_t request_id) = 0; |
+ virtual void DeliverFrame(PP_Instance instance, |
+ PP_Resource decrypted_frame, |
+ int32_t request_id) = 0; |
+ virtual void DeliverSamples(PP_Instance instance, |
+ PP_Resource decrypted_samples, |
+ int32_t request_id) = 0; |
+ |
// Find. |
virtual void NumberOfFindResultsChanged(PP_Instance instance, |
int32_t total, |