| 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 Fri Jun 27 15:10:18 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Wed Jul 2 12:11:51 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 * embedded. | 309 * embedded. |
| 310 */ | 310 */ |
| 311 void (*DispatchEvent)(PP_Instance instance, | 311 void (*DispatchEvent)(PP_Instance instance, |
| 312 PP_NaClEventType event_type, | 312 PP_NaClEventType event_type, |
| 313 const char* resource_url, | 313 const char* resource_url, |
| 314 PP_Bool length_is_computable, | 314 PP_Bool length_is_computable, |
| 315 uint64_t loaded_bytes, | 315 uint64_t loaded_bytes, |
| 316 uint64_t total_bytes); | 316 uint64_t total_bytes); |
| 317 /* Report that the nexe loaded successfully. */ | 317 /* Report that the nexe loaded successfully. */ |
| 318 void (*ReportLoadSuccess)(PP_Instance instance, | 318 void (*ReportLoadSuccess)(PP_Instance instance, |
| 319 const char* url, | |
| 320 uint64_t loaded_bytes, | 319 uint64_t loaded_bytes, |
| 321 uint64_t total_bytes); | 320 uint64_t total_bytes); |
| 322 /* Report an error that occured while attempting to load a nexe. */ | 321 /* Report an error that occured while attempting to load a nexe. */ |
| 323 void (*ReportLoadError)(PP_Instance instance, | 322 void (*ReportLoadError)(PP_Instance instance, |
| 324 PP_NaClError error, | 323 PP_NaClError error, |
| 325 const char* error_message); | 324 const char* error_message); |
| 326 /* Reports that loading a nexe was aborted. */ | 325 /* Reports that loading a nexe was aborted. */ |
| 327 void (*ReportLoadAbort)(PP_Instance instance); | 326 void (*ReportLoadAbort)(PP_Instance instance); |
| 328 /* Reports that the nexe has crashed. */ | 327 /* Reports that the nexe has crashed. */ |
| 329 void (*NexeDidCrash)(PP_Instance instance, const char* crash_log); | 328 void (*NexeDidCrash)(PP_Instance instance, const char* crash_log); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 void (*SetPNaClStartTime)(PP_Instance instance); | 421 void (*SetPNaClStartTime)(PP_Instance instance); |
| 423 }; | 422 }; |
| 424 | 423 |
| 425 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 424 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 426 /** | 425 /** |
| 427 * @} | 426 * @} |
| 428 */ | 427 */ |
| 429 | 428 |
| 430 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 429 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 431 | 430 |
| OLD | NEW |