| 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 Mon May 12 10:21:30 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Tue May 13 11:00:06 2014. */ |
| 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 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
| 16 #include "ppapi/c/pp_var.h" | 16 #include "ppapi/c/pp_var.h" |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe | 221 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe |
| 222 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). | 222 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). |
| 223 * The |enable_exception_handling| flag indicates whether or not the nexe | 223 * The |enable_exception_handling| flag indicates whether or not the nexe |
| 224 * will be able to use hardware exception handling. | 224 * will be able to use hardware exception handling. |
| 225 * The |enable_crash_throttling| flag indicates whether or not crashes of | 225 * The |enable_crash_throttling| flag indicates whether or not crashes of |
| 226 * the nexe contribute to crash throttling statisics and whether nexe starts | 226 * the nexe contribute to crash throttling statisics and whether nexe starts |
| 227 * are throttled by crash throttling. | 227 * are throttled by crash throttling. |
| 228 */ | 228 */ |
| 229 void (*LaunchSelLdr)( | 229 void (*LaunchSelLdr)( |
| 230 PP_Instance instance, | 230 PP_Instance instance, |
| 231 PP_Bool main_service_runtime, |
| 231 const char* alleged_url, | 232 const char* alleged_url, |
| 232 PP_Bool uses_irt, | 233 PP_Bool uses_irt, |
| 233 PP_Bool uses_ppapi, | 234 PP_Bool uses_ppapi, |
| 234 PP_Bool uses_nonsfi_mode, | 235 PP_Bool uses_nonsfi_mode, |
| 235 PP_Bool enable_ppapi_dev, | 236 PP_Bool enable_ppapi_dev, |
| 236 PP_Bool enable_dyncode_syscalls, | 237 PP_Bool enable_dyncode_syscalls, |
| 237 PP_Bool enable_exception_handling, | 238 PP_Bool enable_exception_handling, |
| 238 PP_Bool enable_crash_throttling, | 239 PP_Bool enable_crash_throttling, |
| 239 const struct PPP_ManifestService_1_0* manifest_service_interface, | 240 const struct PPP_ManifestService_1_0* manifest_service_interface, |
| 240 void* manifest_service_user_data, | 241 void* manifest_service_user_data, |
| 241 void* imc_handle, | 242 void* imc_handle, |
| 242 struct PP_Var* error_message, | |
| 243 struct PP_CompletionCallback callback); | 243 struct PP_CompletionCallback callback); |
| 244 /* This function starts the IPC proxy so the nexe can communicate with the | 244 /* This function starts the IPC proxy so the nexe can communicate with the |
| 245 * browser. | 245 * browser. |
| 246 */ | 246 */ |
| 247 PP_Bool (*StartPpapiProxy)(PP_Instance instance); | 247 PP_Bool (*StartPpapiProxy)(PP_Instance instance); |
| 248 /* On POSIX systems, this function returns the file descriptor of | 248 /* On POSIX systems, this function returns the file descriptor of |
| 249 * /dev/urandom. On non-POSIX systems, this function returns 0. | 249 * /dev/urandom. On non-POSIX systems, this function returns 0. |
| 250 */ | 250 */ |
| 251 int32_t (*UrandomFD)(void); | 251 int32_t (*UrandomFD)(void); |
| 252 /* Whether the Pepper 3D interfaces should be disabled in the NaCl PPAPI | 252 /* Whether the Pepper 3D interfaces should be disabled in the NaCl PPAPI |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); | 439 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); |
| 440 }; | 440 }; |
| 441 | 441 |
| 442 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 442 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 443 /** | 443 /** |
| 444 * @} | 444 * @} |
| 445 */ | 445 */ |
| 446 | 446 |
| 447 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 447 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 448 | 448 |
| OLD | NEW |