| 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 May 16 11:43:13 2014. */ | 6 /* From private/ppb_nacl_private.idl modified Mon May 19 17:40:19 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 /* PP_Var string of attributes describing the CPU features supported | 412 /* PP_Var string of attributes describing the CPU features supported |
| 413 * by the current architecture. The string is a comma-delimited list | 413 * by the current architecture. The string is a comma-delimited list |
| 414 * of attributes supported by LLVM in its -mattr= option: | 414 * of attributes supported by LLVM in its -mattr= option: |
| 415 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ | 415 * http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr */ |
| 416 struct PP_Var (*GetCpuFeatureAttrs)(void); | 416 struct PP_Var (*GetCpuFeatureAttrs)(void); |
| 417 /* Posts a message to the JavaScript object for the given instance. | 417 /* Posts a message to the JavaScript object for the given instance. |
| 418 * This method may be called on any thread. | 418 * This method may be called on any thread. |
| 419 */ | 419 */ |
| 420 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); | 420 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); |
| 421 /* Downloads the .nexe file at the given URL to a file, and sets |handle| | 421 /* Downloads the .nexe file at the given URL to a file, and sets |handle| |
| 422 * to a handle to a file containing its contents. */ | 422 * to a handle to a file containing its contents. |
| 423 * If metadata for identity-based validation caching is available |
| 424 * then it sets file_token_lo and file_token_lo (otherwise left untouched). |
| 425 */ |
| 423 void (*DownloadNexe)(PP_Instance instance, | 426 void (*DownloadNexe)(PP_Instance instance, |
| 424 const char* url, | 427 const char* url, |
| 425 PP_FileHandle* handle, | 428 PP_FileHandle* handle, |
| 429 uint64_t* file_token_lo, |
| 430 uint64_t* file_token_hi, |
| 426 struct PP_CompletionCallback callback); | 431 struct PP_CompletionCallback callback); |
| 427 }; | 432 }; |
| 428 | 433 |
| 429 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; | 434 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; |
| 430 /** | 435 /** |
| 431 * @} | 436 * @} |
| 432 */ | 437 */ |
| 433 | 438 |
| 434 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ | 439 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ |
| 435 | 440 |
| OLD | NEW |