Chromium Code Reviews| 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 81d353fde6d15994e0833f871f412618e87db62e..ba0002738e4b01654eab543fddd7937fe1d68d76 100644 |
| --- a/ppapi/api/private/ppp_content_decryptor_private.idl |
| +++ b/ppapi/api/private/ppp_content_decryptor_private.idl |
| @@ -36,6 +36,11 @@ interface PPP_ContentDecryptor_Private { |
| * @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 was forwarded to the CDM |
| + * successfully. <code>PP_FALSE</code> otherwise. Once the call reaches the |
| + * CDM, the call result/status should be reported through the |
| + * <code>PPB_ContentDecryptor_Private</code> interface. |
| */ |
| PP_Bool GenerateKeyRequest( |
| [in] PP_Instance instance, |
| @@ -63,6 +68,11 @@ interface PPP_ContentDecryptor_Private { |
| * @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 was forwarded to the CDM |
| + * successfully. <code>PP_FALSE</code> otherwise. Once the call reaches the |
|
dmichael (off chromium)
2012/08/27 20:03:03
nit: I would use a comma instead of a period after
xhwang
2012/08/28 16:34:54
Done.
|
| + * CDM, the call result/status should be reported through the |
| + * <code>PPB_ContentDecryptor_Private</code> interface. |
| */ |
| PP_Bool AddKey( |
| [in] PP_Instance instance, |
| @@ -75,6 +85,11 @@ interface PPP_ContentDecryptor_Private { |
| * |
| * @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 was forwarded to the CDM |
| + * successfully. <code>PP_FALSE</code> otherwise. Once the call reaches the |
| + * CDM, the call result/status should be reported through the |
| + * <code>PPB_ContentDecryptor_Private</code> interface. |
| */ |
| PP_Bool CancelKeyRequest( |
| [in] PP_Instance instance, |
| @@ -93,6 +108,11 @@ interface PPP_ContentDecryptor_Private { |
| * @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 was forwarded to the CDM |
| + * successfully. <code>PP_FALSE</code> otherwise. Once the call reaches the |
| + * CDM, the call result/status should be reported through the |
| + * <code>PPB_ContentDecryptor_Private</code> interface. |
| */ |
| PP_Bool Decrypt( |
| [in] PP_Instance instance, |
| @@ -115,6 +135,11 @@ interface PPP_ContentDecryptor_Private { |
| * @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 was forwarded to the CDM |
| + * successfully. <code>PP_FALSE</code> otherwise. Once the call reaches the |
| + * CDM, the call result/status should be reported through the |
| + * <code>PPB_ContentDecryptor_Private</code> interface. |
| */ |
| PP_Bool DecryptAndDecode( |
| [in] PP_Instance instance, |