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

Unified Diff: ppapi/cpp/dev/content_decryptor_dev.h

Issue 10836038: Call CDMWrapper from PpapiDecryptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add PP_DecryptionBuffer_Dev and update Decrypt() PPP call. Created 8 years, 4 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/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);

Powered by Google App Engine
This is Rietveld 408576698