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

Side by Side Diff: ppapi/api/private/ppb_content_decryptor_private.idl

Issue 179123009: Encrypted Media: Use uint32 for systemCode in SessionError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 9 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
« no previous file with comments | « media/filters/pipeline_integration_test.cc ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>PPB_ContentDecryptor_Private</code> 7 * This file defines the <code>PPB_ContentDecryptor_Private</code>
8 * interface. Note: This is a special interface, only to be used for Content 8 * interface. Note: This is a special interface, only to be used for Content
9 * Decryption Modules, not normal plugins. 9 * Decryption Modules, not normal plugins.
10 */ 10 */
11 11
12 [generate_thunk] 12 [generate_thunk]
13 13
14 label Chrome { 14 label Chrome {
15 M34 = 0.10 15 M35 = 0.11
16 }; 16 };
17 17
18 /** 18 /**
19 * <code>PPB_ContentDecryptor_Private</code> structure contains the function 19 * <code>PPB_ContentDecryptor_Private</code> structure contains the function
20 * pointers the browser must implement to support plugins implementing the 20 * pointers the browser must implement to support plugins implementing the
21 * <code>PPP_ContentDecryptor_Private</code> interface. This interface provides 21 * <code>PPP_ContentDecryptor_Private</code> interface. This interface provides
22 * browser side support for the Content Decryption Module (CDM) for Encrypted 22 * browser side support for the Content Decryption Module (CDM) for Encrypted
23 * Media Extensions: http://www.w3.org/TR/encrypted-media/ 23 * Media Extensions: http://www.w3.org/TR/encrypted-media/
24 */ 24 */
25 interface PPB_ContentDecryptor_Private { 25 interface PPB_ContentDecryptor_Private {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 * is intended. 107 * is intended.
108 * 108 *
109 * @param[in] media_error A MediaKeyError. 109 * @param[in] media_error A MediaKeyError.
110 * 110 *
111 * @param[in] system_error A system error code. 111 * @param[in] system_error A system error code.
112 */ 112 */
113 void SessionError( 113 void SessionError(
114 [in] PP_Instance instance, 114 [in] PP_Instance instance,
115 [in] uint32_t session_id, 115 [in] uint32_t session_id,
116 [in] int32_t media_error, 116 [in] int32_t media_error,
117 [in] int32_t system_code); 117 [in] uint32_t system_code);
118 118
119 /** 119 /**
120 * Called after the <code>Decrypt()</code> method on the 120 * Called after the <code>Decrypt()</code> method on the
121 * <code>PPP_ContentDecryptor_Private</code> interface completes to 121 * <code>PPP_ContentDecryptor_Private</code> interface completes to
122 * deliver decrypted_block to the browser for decoding and rendering. 122 * deliver decrypted_block to the browser for decoding and rendering.
123 * 123 *
124 * The plugin must not hold a reference to the encrypted buffer resource 124 * The plugin must not hold a reference to the encrypted buffer resource
125 * provided to <code>Decrypt()</code> when it calls this method. The browser 125 * provided to <code>Decrypt()</code> when it calls this method. The browser
126 * will reuse the buffer in a subsequent <code>Decrypt()</code> call. 126 * will reuse the buffer in a subsequent <code>Decrypt()</code> call.
127 * 127 *
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 * 245 *
246 * @param[in] decrypted_sample_info A <code>PP_DecryptedSampleInfo</code> that 246 * @param[in] decrypted_sample_info A <code>PP_DecryptedSampleInfo</code> that
247 * contains the tracking info and result code associated with the decrypted 247 * contains the tracking info and result code associated with the decrypted
248 * samples. 248 * samples.
249 */ 249 */
250 void DeliverSamples( 250 void DeliverSamples(
251 [in] PP_Instance instance, 251 [in] PP_Instance instance,
252 [in] PP_Resource audio_frames, 252 [in] PP_Resource audio_frames,
253 [in] PP_DecryptedSampleInfo decrypted_sample_info); 253 [in] PP_DecryptedSampleInfo decrypted_sample_info);
254 }; 254 };
OLDNEW
« no previous file with comments | « media/filters/pipeline_integration_test.cc ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698