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 /* This file contains NaCl private interfaces. This interface is not versioned | 6 /* This file contains NaCl private interfaces. This interface is not versioned |
7 * and is for internal Chrome use. It may change without notice. */ | 7 * and is for internal Chrome use. It may change without notice. */ |
8 | 8 |
9 #inline c | 9 #inline c |
10 #include "ppapi/c/private/pp_file_handle.h" | 10 #include "ppapi/c/private/pp_file_handle.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 * The |enable_exception_handling| flag indicates whether or not the nexe | 50 * The |enable_exception_handling| flag indicates whether or not the nexe |
51 * will be able to use hardware exception handling. | 51 * will be able to use hardware exception handling. |
52 */ | 52 */ |
53 PP_NaClResult LaunchSelLdr([in] PP_Instance instance, | 53 PP_NaClResult LaunchSelLdr([in] PP_Instance instance, |
54 [in] str_t alleged_url, | 54 [in] str_t alleged_url, |
55 [in] PP_Bool uses_irt, | 55 [in] PP_Bool uses_irt, |
56 [in] PP_Bool uses_ppapi, | 56 [in] PP_Bool uses_ppapi, |
57 [in] PP_Bool enable_ppapi_dev, | 57 [in] PP_Bool enable_ppapi_dev, |
58 [in] PP_Bool enable_dyncode_syscalls, | 58 [in] PP_Bool enable_dyncode_syscalls, |
59 [in] PP_Bool enable_exception_handling, | 59 [in] PP_Bool enable_exception_handling, |
60 [out] mem_t imc_handle); | 60 [out] mem_t imc_handle, |
| 61 [out] PP_Var error_message); |
61 | 62 |
62 /* This function starts the IPC proxy so the nexe can communicate with the | 63 /* This function starts the IPC proxy so the nexe can communicate with the |
63 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating | 64 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating |
64 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with | 65 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with |
65 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be | 66 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be |
66 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be | 67 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be |
67 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC. | 68 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC. |
68 */ | 69 */ |
69 PP_NaClResult StartPpapiProxy(PP_Instance instance); | 70 PP_NaClResult StartPpapiProxy(PP_Instance instance); |
70 | 71 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 151 |
151 /* Opens a NaCl executable file in the application's extension directory | 152 /* Opens a NaCl executable file in the application's extension directory |
152 * corresponding to the file URL and returns a file descriptor, or an invalid | 153 * corresponding to the file URL and returns a file descriptor, or an invalid |
153 * handle on failure. |metadata| is left unchanged on failure. | 154 * handle on failure. |metadata| is left unchanged on failure. |
154 */ | 155 */ |
155 PP_FileHandle OpenNaClExecutable([in] PP_Instance instance, | 156 PP_FileHandle OpenNaClExecutable([in] PP_Instance instance, |
156 [in] str_t file_url, | 157 [in] str_t file_url, |
157 [out] uint64_t file_token_lo, | 158 [out] uint64_t file_token_lo, |
158 [out] uint64_t file_token_hi); | 159 [out] uint64_t file_token_hi); |
159 }; | 160 }; |
OLD | NEW |