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

Side by Side Diff: ppapi/api/dev/ppp_content_decryptor_dev.idl

Issue 10836038: Call CDMWrapper from PpapiDecryptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add PP_DecryptionBuffer_Dev and update Decrypt() PPP call. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * This file defines the <code>PPP_ContentDecryptor_Dev</code> 7 * This file defines the <code>PPP_ContentDecryptor_Dev</code>
8 * interface. 8 * interface.
9 */ 9 */
10 label Chrome { 10 label Chrome {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 PP_Bool CancelKeyRequest( 42 PP_Bool CancelKeyRequest(
43 [in] PP_Instance instance, 43 [in] PP_Instance instance,
44 [in] PP_Var session_id); /* String. */ 44 [in] PP_Var session_id); /* String. */
45 45
46 /** 46 /**
47 * Decrypts the block and returns the unencrypted block. In the case of 47 * Decrypts the block and returns the unencrypted block. In the case of
48 * media, the block contains encoded data. 48 * media, the block contains encoded data.
49 */ 49 */
50 PP_Bool Decrypt( 50 PP_Bool Decrypt(
51 [in] PP_Instance instance, 51 [in] PP_Instance instance,
52 [in] PP_Resource encrypted_block, /* PPB_Buffer. */ 52 [in] PP_DecryptionBuffer_Dev encrypted_buffer);
53 [in] PP_CompletionCallback callback);
54 53
55 /** 54 /**
56 * Decrypts the block then decodes it and returns the unencrypted raw 55 * Decrypts the block then decodes it and returns the unencrypted raw
57 * (decoded) frame. 56 * (decoded) frame.
58 */ 57 */
59 PP_Bool DecryptAndDecode( 58 PP_Bool DecryptAndDecode(
60 [in] PP_Instance instance, 59 [in] PP_Instance instance,
61 [in] PP_Resource encrypted_block, /* PPB_Buffer. */ 60 [in] PP_Resource encrypted_block, /* PPB_Buffer. */
62 [in] PP_CompletionCallback callback); 61 [in] PP_CompletionCallback callback);
63 }; 62 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698