| 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 Mon Nov 3 17:52:33 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Fri Nov 14 14:34:17 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ | 358 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ |
| 359 struct PP_Var (*GetCpuFeatureAttrs)(void); | 359 struct PP_Var (*GetCpuFeatureAttrs)(void); |
| 360 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| | 360 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| |
| 361 * to information for a handle to a file containing its contents. | 361 * to information for a handle to a file containing its contents. |
| 362 * If metadata for identity-based validation caching is available | 362 * If metadata for identity-based validation caching is available |
| 363 * then it sets token information in |file_info| (otherwise left untouched). | 363 * then it sets token information in |file_info| (otherwise left untouched). |
| 364 */ | 364 */ |
| 365 void (*DownloadNexe)( | 365 void (*DownloadNexe)( |
| 366 PP_Instance instance, | 366 PP_Instance instance, |
| 367 const char* url, | 367 const char* url, |
| 368 PP_Bool download_resource_files, | |
| 369 struct PP_NaClFileInfo* file_info, | 368 struct PP_NaClFileInfo* file_info, |
| 370 struct PP_NaClResourceFileHandle** resource_file_handles, | 369 struct PP_NaClResourceFileHandle** resource_file_handles, |
| 371 uint32_t* resource_file_handles_len, | 370 uint32_t* resource_file_handles_len, |
| 372 struct PP_CompletionCallback callback); | 371 struct PP_CompletionCallback callback); |
| 373 /* Reports the status of sel_ldr for UMA reporting. | 372 /* Reports the status of sel_ldr for UMA reporting. |
| 374 * |max_status| has to be provided because the implementation of this | 373 * |max_status| has to be provided because the implementation of this |
| 375 * interface can't access the NaClErrorCode enum. | 374 * interface can't access the NaClErrorCode enum. |
| 376 */ | 375 */ |
| 377 void (*ReportSelLdrStatus)(PP_Instance instance, | 376 void (*ReportSelLdrStatus)(PP_Instance instance, |
| 378 int32_t load_status, | 377 int32_t load_status, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 void* stream_handler_user_data); | 409 void* stream_handler_user_data); |
| 411 }; | 410 }; |
| 412 | 411 |
| 413 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 412 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 414 /** | 413 /** |
| 415 * @} | 414 * @} |
| 416 */ | 415 */ |
| 417 | 416 |
| 418 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 417 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 419 | 418 |
| OLD | NEW |