Index: ppapi/cpp/dev/content_decryptor_dev.h |
diff --git a/ppapi/cpp/dev/content_decryptor_dev.h b/ppapi/cpp/dev/content_decryptor_dev.h |
index 4133456480a0f76acb4b47a29837b080ac281245..166e3f27f9fbd2af1374572347c1232d82a3312b 100644 |
--- a/ppapi/cpp/dev/content_decryptor_dev.h |
+++ b/ppapi/cpp/dev/content_decryptor_dev.h |
@@ -28,8 +28,7 @@ class ContentDecryptor_Dev { |
virtual bool CancelKeyRequest(PP_Var session_id) = 0; // String. |
- virtual bool Decrypt(PP_Resource encrypted_block, // PPB_Buffer. |
- PP_CompletionCallback callback) = 0; |
+ virtual bool Decrypt(const PP_DecryptionBuffer_Dev& encrypted_buffer) = 0; |
virtual bool DecryptAndDecode(PP_Resource encrypted_block, // PPB_Buffer. |
PP_CompletionCallback callback) = 0; |
@@ -54,7 +53,7 @@ class ContentDecryptor_Dev { |
uint16_t system_error); |
void DeliverBlock(PP_Resource decrypted_block, // PPB_Buffer. |
- PP_CompletionCallback callback); |
+ uint32_t id); |
void DeliverFrame(PP_Resource decrypted_frame, // PPB_Buffer. |
PP_CompletionCallback callback); |