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

Side by Side Diff: ppapi/c/dev/ppb_crypto_dev.h

Issue 6893022: Add version-specific defines for each C interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | « ppapi/c/dev/ppb_context_3d_trusted_dev.h ('k') | ppapi/c/dev/ppb_cursor_control_dev.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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_DEV_PPB_CRYPTO_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_CRYPTO_DEV_H_
6 #define PPAPI_C_DEV_PPB_CRYPTO_DEV_H_ 6 #define PPAPI_C_DEV_PPB_CRYPTO_DEV_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_stdint.h" 9 #include "ppapi/c/pp_stdint.h"
10 10
11 #define PPB_CRYPTO_DEV_INTERFACE "PPB_Crypto(Dev);0.1" 11 #define PPB_CRYPTO_DEV_INTERFACE_0_1 "PPB_Crypto(Dev);0.1"
12 #define PPB_CRYPTO_DEV_INTERFACE PPB_CRYPTO_DEV_INTERFACE_0_1
12 13
13 struct PPB_Crypto_Dev { 14 struct PPB_Crypto_Dev {
14 /** 15 /**
15 * Fills the given buffer with random bytes. This is potentially slow so only 16 * Fills the given buffer with random bytes. This is potentially slow so only
16 * request the amount of data you need. 17 * request the amount of data you need.
17 */ 18 */
18 void (*GetRandomBytes)(char* buffer, uint32_t num_bytes); 19 void (*GetRandomBytes)(char* buffer, uint32_t num_bytes);
19 }; 20 };
20 21
21 #endif 22 #endif
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_context_3d_trusted_dev.h ('k') | ppapi/c/dev/ppb_cursor_control_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698