| 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 Mar 27 10:43:40 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Thu Mar 27 14:44:04 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 struct PP_Var value); | 292 struct PP_Var value); |
| 293 /* Report an error that occured while attempting to load a nexe. */ | 293 /* Report an error that occured while attempting to load a nexe. */ |
| 294 void (*ReportLoadError)(PP_Instance instance, | 294 void (*ReportLoadError)(PP_Instance instance, |
| 295 PP_NaClError error, | 295 PP_NaClError error, |
| 296 const char* error_message, | 296 const char* error_message, |
| 297 const char* console_message); | 297 const char* console_message); |
| 298 /* Performs internal setup when an instance is created. */ | 298 /* Performs internal setup when an instance is created. */ |
| 299 void (*InstanceCreated)(PP_Instance instance); | 299 void (*InstanceCreated)(PP_Instance instance); |
| 300 /* Performs internal cleanup when an instance is destroyed. */ | 300 /* Performs internal cleanup when an instance is destroyed. */ |
| 301 void (*InstanceDestroyed)(PP_Instance instance); | 301 void (*InstanceDestroyed)(PP_Instance instance); |
| 302 /* Return true if the NaCl debug stub is enabled and the loaded app | 302 /* Return true if the NaCl debug stub is enabled and the app loaded from |
| 303 * will be attached to a debugger. | 303 * alleged_nmf_url will be attached to a debugger. |
| 304 */ | 304 */ |
| 305 PP_Bool (*NaClDebugStubEnabled)(void); | 305 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); |
| 306 /* Returns the kind of SFI sandbox implemented by NaCl on this | 306 /* Returns the kind of SFI sandbox implemented by NaCl on this |
| 307 * platform. | 307 * platform. |
| 308 */ | 308 */ |
| 309 const char* (*GetSandboxArch)(void); | 309 const char* (*GetSandboxArch)(void); |
| 310 /* Returns the scheme type for a given url. */ | 310 /* Returns the scheme type for a given url. */ |
| 311 PP_UrlSchemeType (*GetUrlScheme)(struct PP_Var url); | 311 PP_UrlSchemeType (*GetUrlScheme)(struct PP_Var url); |
| 312 /* Logs the message to the console. */ | 312 /* Logs the message to the console. */ |
| 313 void (*LogToConsole)(PP_Instance instance, const char* message); | 313 void (*LogToConsole)(PP_Instance instance, const char* message); |
| 314 /* Returns PP_TRUE if an error has been reported loading the nexe. */ | 314 /* Returns PP_TRUE if an error has been reported loading the nexe. */ |
| 315 PP_Bool (*GetNexeErrorReported)(PP_Instance instance); | 315 PP_Bool (*GetNexeErrorReported)(PP_Instance instance); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 326 void (*SetIsInstalled)(PP_Instance instance, PP_Bool is_installed); | 326 void (*SetIsInstalled)(PP_Instance instance, PP_Bool is_installed); |
| 327 }; | 327 }; |
| 328 | 328 |
| 329 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 329 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 330 /** | 330 /** |
| 331 * @} | 331 * @} |
| 332 */ | 332 */ |
| 333 | 333 |
| 334 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 334 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 335 | 335 |
| OLD | NEW |