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

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

Issue 10876014: Hook up CDM calls in CdmWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve comments and Rebase. 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 | « no previous file | ppapi/c/private/ppp_content_decryptor_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7207b8397e967a15263b9a0e9d4bb840e29edc21 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
+ * 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,
« no previous file with comments | « no previous file | ppapi/c/private/ppp_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698