OLD | NEW |
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 /* From private/ppb_nacl_private.idl modified Thu Jan 10 15:59:03 2013. */ | 6 /* From private/ppb_nacl_private.idl modified Thu Jan 10 15:59:03 2013. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ | 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 * @} | 54 * @} |
55 */ | 55 */ |
56 | 56 |
57 /** | 57 /** |
58 * @addtogroup Interfaces | 58 * @addtogroup Interfaces |
59 * @{ | 59 * @{ |
60 */ | 60 */ |
61 /* PPB_NaCl_Private */ | 61 /* PPB_NaCl_Private */ |
62 struct PPB_NaCl_Private_1_0 { | 62 struct PPB_NaCl_Private_1_0 { |
63 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and | 63 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and |
64 * writes a nacl::Handle to imc_handle. Returns PP_NACL_FAILED on failure. | 64 * writes a NaClHandle to imc_handle. Returns PP_NACL_FAILED on failure. |
65 * The |enable_ppapi_dev| parameter controls whether GetInterface | 65 * The |enable_ppapi_dev| parameter controls whether GetInterface |
66 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag | 66 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag |
67 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. | 67 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. |
68 * This implies that LaunchSelLdr is run from the main thread. If a nexe | 68 * This implies that LaunchSelLdr is run from the main thread. If a nexe |
69 * does not need PPAPI, then it can run off the main thread. | 69 * does not need PPAPI, then it can run off the main thread. |
70 * The |uses_irt| flag indicates whether the IRT should be loaded in this | 70 * The |uses_irt| flag indicates whether the IRT should be loaded in this |
71 * NaCl process. This is true for ABI stable nexes. | 71 * NaCl process. This is true for ABI stable nexes. |
72 */ | 72 */ |
73 PP_NaClResult (*LaunchSelLdr)(PP_Instance instance, | 73 PP_NaClResult (*LaunchSelLdr)(PP_Instance instance, |
74 const char* alleged_url, | 74 const char* alleged_url, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 PP_NaClError message_id); | 129 PP_NaClError message_id); |
130 }; | 130 }; |
131 | 131 |
132 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 132 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
133 /** | 133 /** |
134 * @} | 134 * @} |
135 */ | 135 */ |
136 | 136 |
137 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 137 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
138 | 138 |
OLD | NEW |