| 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 Jun 4 09:50:07 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Thu Jun 5 08:59:03 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 uint64_t loaded_bytes, | 342 uint64_t loaded_bytes, |
| 343 uint64_t total_bytes); | 343 uint64_t total_bytes); |
| 344 /* Report that the nexe loaded successfully. */ | 344 /* Report that the nexe loaded successfully. */ |
| 345 void (*ReportLoadSuccess)(PP_Instance instance, | 345 void (*ReportLoadSuccess)(PP_Instance instance, |
| 346 const char* url, | 346 const char* url, |
| 347 uint64_t loaded_bytes, | 347 uint64_t loaded_bytes, |
| 348 uint64_t total_bytes); | 348 uint64_t total_bytes); |
| 349 /* Report an error that occured while attempting to load a nexe. */ | 349 /* Report an error that occured while attempting to load a nexe. */ |
| 350 void (*ReportLoadError)(PP_Instance instance, | 350 void (*ReportLoadError)(PP_Instance instance, |
| 351 PP_NaClError error, | 351 PP_NaClError error, |
| 352 const char* error_message, | 352 const char* error_message); |
| 353 const char* console_message); | |
| 354 /* Reports that loading a nexe was aborted. */ | 353 /* Reports that loading a nexe was aborted. */ |
| 355 void (*ReportLoadAbort)(PP_Instance instance); | 354 void (*ReportLoadAbort)(PP_Instance instance); |
| 356 /* Reports that the nexe has crashed. */ | 355 /* Reports that the nexe has crashed. */ |
| 357 void (*NexeDidCrash)(PP_Instance instance, const char* crash_log); | 356 void (*NexeDidCrash)(PP_Instance instance, const char* crash_log); |
| 358 /* Performs internal setup when an instance is created. */ | 357 /* Performs internal setup when an instance is created. */ |
| 359 void (*InstanceCreated)(PP_Instance instance); | 358 void (*InstanceCreated)(PP_Instance instance); |
| 360 /* Performs internal cleanup when an instance is destroyed. */ | 359 /* Performs internal cleanup when an instance is destroyed. */ |
| 361 void (*InstanceDestroyed)(PP_Instance instance); | 360 void (*InstanceDestroyed)(PP_Instance instance); |
| 362 /* Return true if the NaCl debug stub is enabled and the app loaded from | 361 /* Return true if the NaCl debug stub is enabled and the app loaded from |
| 363 * alleged_nmf_url will be attached to a debugger. | 362 * alleged_nmf_url will be attached to a debugger. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 int32_t max_status); | 442 int32_t max_status); |
| 444 }; | 443 }; |
| 445 | 444 |
| 446 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 445 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 447 /** | 446 /** |
| 448 * @} | 447 * @} |
| 449 */ | 448 */ |
| 450 | 449 |
| 451 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 450 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 452 | 451 |
| OLD | NEW |