| 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 Aug 21 11:14:10 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Wed Aug 27 13:55:13 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 PP_Bool* uses_nonsfi_mode); | 347 PP_Bool* uses_nonsfi_mode); |
| 348 /* Returns the filenames for the llc and ld tools. */ | 348 /* Returns the filenames for the llc and ld tools. */ |
| 349 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, | 349 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, |
| 350 struct PP_Var* llc_tool_name, | 350 struct PP_Var* llc_tool_name, |
| 351 struct PP_Var* ld_tool_name); | 351 struct PP_Var* ld_tool_name); |
| 352 /* PP_Var string of attributes describing the CPU features supported | 352 /* PP_Var string of attributes describing the CPU features supported |
| 353 * by the current architecture. The string is a comma-delimited list | 353 * by the current architecture. The string is a comma-delimited list |
| 354 * of attributes supported by LLVM in its -mattr= option: | 354 * of attributes supported by LLVM in its -mattr= option: |
| 355 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ | 355 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ |
| 356 struct PP_Var (*GetCpuFeatureAttrs)(void); | 356 struct PP_Var (*GetCpuFeatureAttrs)(void); |
| 357 /* Posts a message to the JavaScript object for the given instance. | |
| 358 * This method may be called on any thread. | |
| 359 */ | |
| 360 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); | |
| 361 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| | 357 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| |
| 362 * to information for a handle to a file containing its contents. | 358 * to information for a handle to a file containing its contents. |
| 363 * If metadata for identity-based validation caching is available | 359 * If metadata for identity-based validation caching is available |
| 364 * then it sets token information in |file_info| (otherwise left untouched). | 360 * then it sets token information in |file_info| (otherwise left untouched). |
| 365 */ | 361 */ |
| 366 void (*DownloadNexe)(PP_Instance instance, | 362 void (*DownloadNexe)(PP_Instance instance, |
| 367 const char* url, | 363 const char* url, |
| 368 struct PP_NaClFileInfo* file_info, | 364 struct PP_NaClFileInfo* file_info, |
| 369 struct PP_CompletionCallback callback); | 365 struct PP_CompletionCallback callback); |
| 370 /* Reports the status of sel_ldr for UMA reporting. | 366 /* Reports the status of sel_ldr for UMA reporting. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 void* stream_handler_user_data); | 403 void* stream_handler_user_data); |
| 408 }; | 404 }; |
| 409 | 405 |
| 410 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 406 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 411 /** | 407 /** |
| 412 * @} | 408 * @} |
| 413 */ | 409 */ |
| 414 | 410 |
| 415 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 411 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 416 | 412 |
| OLD | NEW |