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

Unified Diff: ppapi/api/private/ppb_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: Rename to pp_content_decryptor.idl 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
« no previous file with comments | « ppapi/api/private/pp_content_decryptor.idl ('k') | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_content_decryptor_private.idl
diff --git a/ppapi/api/private/ppb_content_decryptor_private.idl b/ppapi/api/private/ppb_content_decryptor_private.idl
index 2a07eae83455e78d641e167dc62ca8f70aa56142..a07a045513df3f025e5a2d461ebb537815b149a2 100644
--- a/ppapi/api/private/ppb_content_decryptor_private.idl
+++ b/ppapi/api/private/ppb_content_decryptor_private.idl
@@ -136,13 +136,14 @@ interface PPB_ContentDecryptor_Private {
* <code>PPB_Buffer_Dev</code> resource that contains a decrypted data
* block.
*
- * @param[in] request_id A unique value the browser can use to associate
- * decrypted_block with a decrypt call.
+ * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that
+ * contains the tracking info and result code associated with the
+ * <code>decrypted_block</code>.
*/
void DeliverBlock(
[in] PP_Instance instance,
[in] PP_Resource decrypted_block,
- [in] int32_t request_id);
+ [in] PP_DecryptedBlockInfo decrypted_block_info);
/**
* Called after the <code>DecryptAndDecode()</code> method on the
@@ -152,13 +153,14 @@ interface PPB_ContentDecryptor_Private {
* @param[in] decrypted_frame A <code>PP_Resource</code> corresponding to a
* <code>PPB_Buffer_Dev</code> resource that contains a video frame.
*
- * @param[in] request_id A unique value the browser can use to associate
- * decrypted_frame with a decrypt call.
+ * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that
+ * contains the tracking info and result code associated with the
+ * <code>decrypted_block</code>.
*/
void DeliverFrame(
[in] PP_Instance instance,
[in] PP_Resource decrypted_frame,
- [in] int32_t request_id);
+ [in] PP_DecryptedBlockInfo decrypted_block_info);
/**
* Called after the <code>DecryptAndDecode()</code> method on the
@@ -170,11 +172,12 @@ interface PPB_ContentDecryptor_Private {
* <code>PPB_Buffer_Dev</code> resource that contains a decrypted buffer
* of decoded audio samples.
*
- * @param[in] request_id A unique value the browser can use to associate
- * decrypted_samples with a decrypt call.
+ * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that
+ * contains the tracking info and result code associated with the
+ * <code>decrypted_block</code>.
*/
void DeliverSamples(
[in] PP_Instance instance,
[in] PP_Resource decrypted_samples,
- [in] int32_t request_id);
+ [in] PP_DecryptedBlockInfo decrypted_block_info);
};
« no previous file with comments | « ppapi/api/private/pp_content_decryptor.idl ('k') | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698