| Index: ppapi/c/private/ppp_content_decryptor_private.h
|
| diff --git a/ppapi/c/private/ppp_content_decryptor_private.h b/ppapi/c/private/ppp_content_decryptor_private.h
|
| index 45c8c0d4519e858d6f1dbbaf8fa7bd07fc2f99de..24987a4bd51da018adcce8a137f906932a731539 100644
|
| --- a/ppapi/c/private/ppp_content_decryptor_private.h
|
| +++ b/ppapi/c/private/ppp_content_decryptor_private.h
|
| @@ -4,7 +4,7 @@
|
| */
|
|
|
| /* From private/ppp_content_decryptor_private.idl,
|
| - * modified Fri Aug 17 09:07:21 2012.
|
| + * modified Tue Aug 21 18:37:34 2012.
|
| */
|
|
|
| #ifndef PPAPI_C_PRIVATE_PPP_CONTENT_DECRYPTOR_PRIVATE_H_
|
| @@ -27,7 +27,7 @@
|
| * @file
|
| * This file defines the <code>PPP_ContentDecryptor_Private</code>
|
| * interface. Note: This is a special interface, only to be used for Content
|
| - * Decryption Modules, not normal plugins.
|
| + * Decryption Modules (CDM), not normal plugins.
|
| */
|
|
|
|
|
| @@ -59,6 +59,11 @@ struct PPP_ContentDecryptor_Private_0_1 {
|
| * @param[in] init_data A <code>PP_Var</code> of type
|
| * <code>PP_VARTYPE_ARRAYBUFFER</code> containing container specific
|
| * initialization data.
|
| + *
|
| + * @return <code>PP_TRUE</code> if this call can be forwarded to the CDM
|
| + * successfully. <code>PP_TRUE</code> otherwise. Once the call reaches the
|
| + * CDM, the call result/stuatus can always be reported asynchronously through
|
| + * the <code>PPB_ContentDecryptor_Private</code> interface.
|
| */
|
| PP_Bool (*GenerateKeyRequest)(PP_Instance instance,
|
| struct PP_Var key_system,
|
| @@ -84,6 +89,11 @@ struct PPP_ContentDecryptor_Private_0_1 {
|
| * @param[in] init_data A <code>PP_Var</code> of type
|
| * <code>PP_VARTYPE_ARRAYBUFFER</code> containing container specific
|
| * initialization data.
|
| + *
|
| + * @return <code>PP_TRUE</code> if this call can be forwarded to the CDM
|
| + * successfully. <code>PP_TRUE</code> otherwise. Once the call reaches the
|
| + * CDM, the call result/stuatus can always be reported asynchronously through
|
| + * the <code>PPB_ContentDecryptor_Private</code> interface.
|
| */
|
| PP_Bool (*AddKey)(PP_Instance instance,
|
| struct PP_Var session_id,
|
| @@ -94,6 +104,11 @@ struct PPP_ContentDecryptor_Private_0_1 {
|
| *
|
| * @param[in] session_id A <code>PP_Var</code> of type
|
| * <code>PP_VARTYPE_STRING</code> containing the session ID.
|
| + *
|
| + * @return <code>PP_TRUE</code> if this call can be forwarded to the CDM
|
| + * successfully. <code>PP_TRUE</code> otherwise. Once the call reaches the
|
| + * CDM, the call result/stuatus can always be reported asynchronously through
|
| + * the <code>PPB_ContentDecryptor_Private</code> interface.
|
| */
|
| PP_Bool (*CancelKeyRequest)(PP_Instance instance, struct PP_Var session_id);
|
| /**
|
| @@ -109,6 +124,11 @@ struct PPP_ContentDecryptor_Private_0_1 {
|
| * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that
|
| * contains all auxiliary information needed for decryption of the
|
| * <code>encrypted_block</code>.
|
| + *
|
| + * @return <code>PP_TRUE</code> if this call can be forwarded to the CDM
|
| + * successfully. <code>PP_TRUE</code> otherwise. Once the call reaches the
|
| + * CDM, the call result/stuatus can always be reported asynchronously through
|
| + * the <code>PPB_ContentDecryptor_Private</code> interface.
|
| */
|
| PP_Bool (*Decrypt)(
|
| PP_Instance instance,
|
| @@ -130,6 +150,11 @@ struct PPP_ContentDecryptor_Private_0_1 {
|
| * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that
|
| * contains all auxiliary information needed for decryption of the
|
| * <code>encrypted_block</code>.
|
| + *
|
| + * @return <code>PP_TRUE</code> if this call can be forwarded to the CDM
|
| + * successfully. <code>PP_TRUE</code> otherwise. Once the call reaches the
|
| + * CDM, the call result/stuatus can always be reported asynchronously through
|
| + * the <code>PPB_ContentDecryptor_Private</code> interface.
|
| */
|
| PP_Bool (*DecryptAndDecode)(
|
| PP_Instance instance,
|
|
|