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

Unified Diff: ppapi/api/private/ppp_content_decryptor_private.idl

Issue 10857027: Add content decryptor related structs and update PP{P|B}_ContentDecryptor_Private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add PP_DecryptResult and Rename. 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/api/private/ppp_content_decryptor_private.idl
diff --git a/ppapi/api/private/ppp_content_decryptor_private.idl b/ppapi/api/private/ppp_content_decryptor_private.idl
index bd663a4cf7ce5731e0f40afa9de323db18da883d..c82835b4cd311b2809b735551cf60911e55aded6 100644
--- a/ppapi/api/private/ppp_content_decryptor_private.idl
+++ b/ppapi/api/private/ppp_content_decryptor_private.idl
@@ -85,14 +85,14 @@ interface PPP_ContentDecryptor_Private {
* <code>PPB_Buffer_Dev</code> resource that contains an encrypted data
* block.
*
- * @param[in] request_id A value used by the browser to associate data
- * returned via the <code>PPB_ContentDecryptor_Private</code> interface with
- * decryption method calls.
+ * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that
+ * contains all auxiliary information needed for decryption of the
+ * <code>encrypted_block</code>.
*/
PP_Bool Decrypt(
[in] PP_Instance instance,
[in] PP_Resource encrypted_block,
- [in] int32_t request_id);
+ [in] PP_EncryptedBlockInfo encrypted_block_info);
/**
* Decrypts the block, decodes it, and returns the unencrypted uncompressed
@@ -107,12 +107,12 @@ interface PPP_ContentDecryptor_Private {
* <code>PPB_Buffer_Dev</code> resource that contains an encrypted data
* block.
*
- * @param[in] request_id A value used by the browser to associate data
- * returned via the <code>PPB_ContentDecryptor_Private</code> interface with
- * decryption method calls.
+ * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that
+ * contains all auxiliary information needed for decryption of the
+ * <code>encrypted_block</code>.
*/
PP_Bool DecryptAndDecode(
[in] PP_Instance instance,
[in] PP_Resource encrypted_block,
- [in] int32_t request_id);
+ [in] PP_EncryptedBlockInfo encrypted_block_info);
};

Powered by Google App Engine
This is Rietveld 408576698