| 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 Jul 2 12:11:51 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Wed Jul 9 11:09:04 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 /* Processes the NaCl manifest once it's been retrieved. | 362 /* Processes the NaCl manifest once it's been retrieved. |
| 363 * TODO(teravest): Move the rest of the supporting logic out of the trusted | 363 * TODO(teravest): Move the rest of the supporting logic out of the trusted |
| 364 * plugin. | 364 * plugin. |
| 365 */ | 365 */ |
| 366 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url); | 366 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url); |
| 367 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance); | 367 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance); |
| 368 PP_Bool (*GetManifestProgramURL)(PP_Instance instance, | 368 PP_Bool (*GetManifestProgramURL)(PP_Instance instance, |
| 369 struct PP_Var* full_url, | 369 struct PP_Var* full_url, |
| 370 struct PP_PNaClOptions* pnacl_options, | 370 struct PP_PNaClOptions* pnacl_options, |
| 371 PP_Bool* uses_nonsfi_mode); | 371 PP_Bool* uses_nonsfi_mode); |
| 372 /* Returns the filenames for the llc and ld tools, parsing that information | 372 /* Returns the filenames for the llc and ld tools. */ |
| 373 * from the file given in |filename|. | |
| 374 */ | |
| 375 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, | 373 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, |
| 376 const char* filename, | |
| 377 struct PP_Var* llc_tool_name, | 374 struct PP_Var* llc_tool_name, |
| 378 struct PP_Var* ld_tool_name); | 375 struct PP_Var* ld_tool_name); |
| 379 /* PP_Var string of attributes describing the CPU features supported | 376 /* PP_Var string of attributes describing the CPU features supported |
| 380 * by the current architecture. The string is a comma-delimited list | 377 * by the current architecture. The string is a comma-delimited list |
| 381 * of attributes supported by LLVM in its -mattr= option: | 378 * of attributes supported by LLVM in its -mattr= option: |
| 382 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ | 379 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ |
| 383 struct PP_Var (*GetCpuFeatureAttrs)(void); | 380 struct PP_Var (*GetCpuFeatureAttrs)(void); |
| 384 /* Posts a message to the JavaScript object for the given instance. | 381 /* Posts a message to the JavaScript object for the given instance. |
| 385 * This method may be called on any thread. | 382 * This method may be called on any thread. |
| 386 */ | 383 */ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 void (*SetPNaClStartTime)(PP_Instance instance); | 418 void (*SetPNaClStartTime)(PP_Instance instance); |
| 422 }; | 419 }; |
| 423 | 420 |
| 424 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 421 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 425 /** | 422 /** |
| 426 * @} | 423 * @} |
| 427 */ | 424 */ |
| 428 | 425 |
| 429 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 426 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 430 | 427 |
| OLD | NEW |