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

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

Issue 10871006: Connect PpapiDecryptor and PluginInstance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a minor bug happened during code copying. Created 8 years, 3 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 | « no previous file | ppapi/c/private/pp_content_decryptor.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 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information 7 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information
8 * that can be used to associate the decrypted block with a decrypt request 8 * that can be used to associate the decrypted block with a decrypt request
9 * and/or an input block. 9 * and/or an input block.
10 */ 10 */
11 [assert_size(16)] 11 [assert_size(16)]
12 struct PP_DecryptTrackingInfo { 12 struct PP_DecryptTrackingInfo {
13 /** 13 /**
14 * Client-specified identifier for the associated decrypt request. By using 14 * Client-specified identifier for the associated decrypt request. By using
15 * this value, the client can associate the decrypted block with a decryption 15 * this value, the client can associate the decrypted block with a decryption
16 * request. 16 * request.
17 */ 17 */
18 uint64_t request_id; 18 uint32_t request_id;
19
20 /**
21 * 4-byte padding to make the size of <code>PP_DecryptTrackingInfo</code>
22 * a multiple of 8 bytes and make sure |timestamp| starts on 8-byte boundary.
23 * The value of this field should not be used.
24 */
25 uint32_t padding;
19 26
20 /** 27 /**
21 * Timestamp in microseconds of the associated block. By using this value, 28 * Timestamp in microseconds of the associated block. By using this value,
22 * the client can associate the decrypted (and decoded) data with an input 29 * the client can associate the decrypted (and decoded) data with an input
23 * block. This is needed because buffers may be delivered out of order and 30 * block. This is needed because buffers may be delivered out of order and
24 * not in response to the <code>request_id</code> they were provided with. 31 * not in response to the <code>request_id</code> they were provided with.
25 */ 32 */
26 int64_t timestamp; 33 int64_t timestamp;
27 }; 34 };
28 35
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 * Result of the decryption (and/or decoding) operation. 150 * Result of the decryption (and/or decoding) operation.
144 */ 151 */
145 PP_DecryptResult result; 152 PP_DecryptResult result;
146 153
147 /** 154 /**
148 * 4-byte padding to make the size of <code>PP_DecryptedBlockInfo</code> 155 * 4-byte padding to make the size of <code>PP_DecryptedBlockInfo</code>
149 * a multiple of 8 bytes. The value of this field should not be used. 156 * a multiple of 8 bytes. The value of this field should not be used.
150 */ 157 */
151 uint32_t padding; 158 uint32_t padding;
152 }; 159 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/private/pp_content_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698