| 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 label Chrome { | 9 label Chrome { |
| 10 M25 = 1.0 | 10 M25 = 1.0 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 * be used with the binary pointed by the url. | 181 * be used with the binary pointed by the url. |
| 182 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe | 182 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe |
| 183 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). | 183 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). |
| 184 * The |enable_exception_handling| flag indicates whether or not the nexe | 184 * The |enable_exception_handling| flag indicates whether or not the nexe |
| 185 * will be able to use hardware exception handling. | 185 * will be able to use hardware exception handling. |
| 186 * The |enable_crash_throttling| flag indicates whether or not crashes of | 186 * The |enable_crash_throttling| flag indicates whether or not crashes of |
| 187 * the nexe contribute to crash throttling statisics and whether nexe starts | 187 * the nexe contribute to crash throttling statisics and whether nexe starts |
| 188 * are throttled by crash throttling. | 188 * are throttled by crash throttling. |
| 189 */ | 189 */ |
| 190 void LaunchSelLdr([in] PP_Instance instance, | 190 void LaunchSelLdr([in] PP_Instance instance, |
| 191 [in] PP_Bool main_service_runtime, |
| 191 [in] str_t alleged_url, | 192 [in] str_t alleged_url, |
| 192 [in] PP_Bool uses_irt, | 193 [in] PP_Bool uses_irt, |
| 193 [in] PP_Bool uses_ppapi, | 194 [in] PP_Bool uses_ppapi, |
| 194 [in] PP_Bool uses_nonsfi_mode, | 195 [in] PP_Bool uses_nonsfi_mode, |
| 195 [in] PP_Bool enable_ppapi_dev, | 196 [in] PP_Bool enable_ppapi_dev, |
| 196 [in] PP_Bool enable_dyncode_syscalls, | 197 [in] PP_Bool enable_dyncode_syscalls, |
| 197 [in] PP_Bool enable_exception_handling, | 198 [in] PP_Bool enable_exception_handling, |
| 198 [in] PP_Bool enable_crash_throttling, | 199 [in] PP_Bool enable_crash_throttling, |
| 199 [in] PPP_ManifestService manifest_service_interface, | 200 [in] PPP_ManifestService manifest_service_interface, |
| 200 [inout] mem_t manifest_service_user_data, | 201 [inout] mem_t manifest_service_user_data, |
| 201 [out] mem_t imc_handle, | 202 [out] mem_t imc_handle, |
| 202 [out] PP_Var error_message, | |
| 203 [in] PP_CompletionCallback callback); | 203 [in] PP_CompletionCallback callback); |
| 204 | 204 |
| 205 /* This function starts the IPC proxy so the nexe can communicate with the | 205 /* This function starts the IPC proxy so the nexe can communicate with the |
| 206 * browser. | 206 * browser. |
| 207 */ | 207 */ |
| 208 PP_Bool StartPpapiProxy(PP_Instance instance); | 208 PP_Bool StartPpapiProxy(PP_Instance instance); |
| 209 | 209 |
| 210 /* On POSIX systems, this function returns the file descriptor of | 210 /* On POSIX systems, this function returns the file descriptor of |
| 211 * /dev/urandom. On non-POSIX systems, this function returns 0. | 211 * /dev/urandom. On non-POSIX systems, this function returns 0. |
| 212 */ | 212 */ |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 // of attributes supported by LLVM in its -mattr= option: | 443 // of attributes supported by LLVM in its -mattr= option: |
| 444 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr | 444 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr |
| 445 PP_Var GetCpuFeatureAttrs(); | 445 PP_Var GetCpuFeatureAttrs(); |
| 446 | 446 |
| 447 /* Posts a message to the JavaScript object for the given instance. | 447 /* Posts a message to the JavaScript object for the given instance. |
| 448 * This method may be called on any thread. | 448 * This method may be called on any thread. |
| 449 */ | 449 */ |
| 450 void PostMessageToJavaScript([in] PP_Instance instance, | 450 void PostMessageToJavaScript([in] PP_Instance instance, |
| 451 [in] str_t message); | 451 [in] str_t message); |
| 452 }; | 452 }; |
| OLD | NEW |