| 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 /* This file contains NaCl private interfaces. This interface is not versioned | 6 /* This file contains NaCl private interfaces. This interface is not versioned |
| 7 * and is for internal Chrome use. It may change without notice. */ | 7 * and is for internal Chrome use. It may change without notice. */ |
| 8 | 8 |
| 9 label Chrome { | 9 label Chrome { |
| 10 M25 = 1.0 | 10 M25 = 1.0 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 PP_Bool GetPnaclResourceInfo([in] PP_Instance instance, | 337 PP_Bool GetPnaclResourceInfo([in] PP_Instance instance, |
| 338 [out] PP_Var llc_tool_name, | 338 [out] PP_Var llc_tool_name, |
| 339 [out] PP_Var ld_tool_name); | 339 [out] PP_Var ld_tool_name); |
| 340 | 340 |
| 341 // PP_Var string of attributes describing the CPU features supported | 341 // PP_Var string of attributes describing the CPU features supported |
| 342 // by the current architecture. The string is a comma-delimited list | 342 // by the current architecture. The string is a comma-delimited list |
| 343 // of attributes supported by LLVM in its -mattr= option: | 343 // of attributes supported by LLVM in its -mattr= option: |
| 344 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr | 344 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr |
| 345 PP_Var GetCpuFeatureAttrs(); | 345 PP_Var GetCpuFeatureAttrs(); |
| 346 | 346 |
| 347 /* Posts a message to the JavaScript object for the given instance. | |
| 348 * This method may be called on any thread. | |
| 349 */ | |
| 350 void PostMessageToJavaScript([in] PP_Instance instance, | |
| 351 [in] str_t message); | |
| 352 | |
| 353 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| | 347 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| |
| 354 * to information for a handle to a file containing its contents. | 348 * to information for a handle to a file containing its contents. |
| 355 * If metadata for identity-based validation caching is available | 349 * If metadata for identity-based validation caching is available |
| 356 * then it sets token information in |file_info| (otherwise left untouched). | 350 * then it sets token information in |file_info| (otherwise left untouched). |
| 357 */ | 351 */ |
| 358 void DownloadNexe([in] PP_Instance instance, | 352 void DownloadNexe([in] PP_Instance instance, |
| 359 [in] str_t url, | 353 [in] str_t url, |
| 360 [out] PP_NaClFileInfo file_info, | 354 [out] PP_NaClFileInfo file_info, |
| 361 [in] PP_CompletionCallback callback); | 355 [in] PP_CompletionCallback callback); |
| 362 | 356 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 * Otherwise, |stream_callback| is called repeatedly with blocks of data | 391 * Otherwise, |stream_callback| is called repeatedly with blocks of data |
| 398 * as they are received. |stream_finished_callback| is called after all | 392 * as they are received. |stream_finished_callback| is called after all |
| 399 * data has been received and dispatched to |stream_callback|. | 393 * data has been received and dispatched to |stream_callback|. |
| 400 */ | 394 */ |
| 401 void StreamPexe([in] PP_Instance instance, | 395 void StreamPexe([in] PP_Instance instance, |
| 402 [in] str_t pexe_url, | 396 [in] str_t pexe_url, |
| 403 [in] int32_t opt_level, | 397 [in] int32_t opt_level, |
| 404 [in] PPP_PexeStreamHandler stream_handler, | 398 [in] PPP_PexeStreamHandler stream_handler, |
| 405 [inout] mem_t stream_handler_user_data); | 399 [inout] mem_t stream_handler_user_data); |
| 406 }; | 400 }; |
| OLD | NEW |