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 Jul 10 10:34:30 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Thu Aug 14 11:48:23 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. */ | 307 /* Reports that the nexe has crashed. */ |
308 void (*NexeDidCrash)(PP_Instance instance, const char* crash_log); | 308 void (*NexeDidCrash)(PP_Instance instance); |
309 /* Performs internal setup when an instance is created. */ | 309 /* Performs internal setup when an instance is created. */ |
310 void (*InstanceCreated)(PP_Instance instance); | 310 void (*InstanceCreated)(PP_Instance instance); |
311 /* Performs internal cleanup when an instance is destroyed. */ | 311 /* Performs internal cleanup when an instance is destroyed. */ |
312 void (*InstanceDestroyed)(PP_Instance instance); | 312 void (*InstanceDestroyed)(PP_Instance instance); |
313 /* Return true if the NaCl debug stub is enabled and the app loaded from | 313 /* Return true if the NaCl debug stub is enabled and the app loaded from |
314 * alleged_nmf_url will be attached to a debugger. | 314 * alleged_nmf_url will be attached to a debugger. |
315 */ | 315 */ |
316 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); | 316 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); |
317 /* Returns the kind of SFI sandbox implemented by NaCl on this | 317 /* Returns the kind of SFI sandbox implemented by NaCl on this |
318 * platform. | 318 * platform. |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 void* stream_handler_user_data); | 411 void* stream_handler_user_data); |
412 }; | 412 }; |
413 | 413 |
414 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 414 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
415 /** | 415 /** |
416 * @} | 416 * @} |
417 */ | 417 */ |
418 | 418 |
419 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 419 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
420 | 420 |
OLD | NEW |