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 Wed Aug 27 13:55:13 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Thu Sep 4 07:46:02 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 /* Report that the nexe loaded successfully. */ | 297 /* Report that the nexe loaded successfully. */ |
298 void (*ReportLoadSuccess)(PP_Instance instance, | 298 void (*ReportLoadSuccess)(PP_Instance instance, |
299 uint64_t loaded_bytes, | 299 uint64_t loaded_bytes, |
300 uint64_t total_bytes); | 300 uint64_t total_bytes); |
301 /* Report an error that occured while attempting to load a nexe. */ | 301 /* Report an error that occured while attempting to load a nexe. */ |
302 void (*ReportLoadError)(PP_Instance instance, | 302 void (*ReportLoadError)(PP_Instance instance, |
303 PP_NaClError error, | 303 PP_NaClError error, |
304 const char* error_message); | 304 const char* error_message); |
305 /* Reports that loading a nexe was aborted. */ | 305 /* Reports that loading a nexe was aborted. */ |
306 void (*ReportLoadAbort)(PP_Instance instance); | 306 void (*ReportLoadAbort)(PP_Instance instance); |
307 /* Reports that the nexe has crashed. */ | |
308 void (*NexeDidCrash)(PP_Instance instance); | |
309 /* Performs internal setup when an instance is created. */ | 307 /* Performs internal setup when an instance is created. */ |
310 void (*InstanceCreated)(PP_Instance instance); | 308 void (*InstanceCreated)(PP_Instance instance); |
311 /* Performs internal cleanup when an instance is destroyed. */ | 309 /* Performs internal cleanup when an instance is destroyed. */ |
312 void (*InstanceDestroyed)(PP_Instance instance); | 310 void (*InstanceDestroyed)(PP_Instance instance); |
313 /* Return true if the NaCl debug stub is enabled and the app loaded from | 311 /* Return true if the NaCl debug stub is enabled and the app loaded from |
314 * alleged_nmf_url will be attached to a debugger. | 312 * alleged_nmf_url will be attached to a debugger. |
315 */ | 313 */ |
316 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); | 314 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); |
317 /* Returns the kind of SFI sandbox implemented by NaCl on this | 315 /* Returns the kind of SFI sandbox implemented by NaCl on this |
318 * platform. | 316 * platform. |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 void* stream_handler_user_data); | 401 void* stream_handler_user_data); |
404 }; | 402 }; |
405 | 403 |
406 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 404 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
407 /** | 405 /** |
408 * @} | 406 * @} |
409 */ | 407 */ |
410 | 408 |
411 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 409 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
412 | 410 |
OLD | NEW |