| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr | 347 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr |
| 348 PP_Var GetCpuFeatureAttrs(); | 348 PP_Var GetCpuFeatureAttrs(); |
| 349 | 349 |
| 350 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| | 350 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| |
| 351 * to information for a handle to a file containing its contents. | 351 * to information for a handle to a file containing its contents. |
| 352 * If metadata for identity-based validation caching is available | 352 * If metadata for identity-based validation caching is available |
| 353 * then it sets token information in |file_info| (otherwise left untouched). | 353 * then it sets token information in |file_info| (otherwise left untouched). |
| 354 */ | 354 */ |
| 355 void DownloadNexe([in] PP_Instance instance, | 355 void DownloadNexe([in] PP_Instance instance, |
| 356 [in] str_t url, | 356 [in] str_t url, |
| 357 [in] PP_Bool download_resource_files, | |
| 358 [out] PP_NaClFileInfo file_info, | 357 [out] PP_NaClFileInfo file_info, |
| 359 [out] PP_NaClResourceFileHandle[] resource_file_handles, | 358 [out] PP_NaClResourceFileHandle[] resource_file_handles, |
| 360 [out] uint32_t resource_file_handles_len, | 359 [out] uint32_t resource_file_handles_len, |
| 361 [in] PP_CompletionCallback callback); | 360 [in] PP_CompletionCallback callback); |
| 362 | 361 |
| 363 /* Reports the status of sel_ldr for UMA reporting. | 362 /* Reports the status of sel_ldr for UMA reporting. |
| 364 * |max_status| has to be provided because the implementation of this | 363 * |max_status| has to be provided because the implementation of this |
| 365 * interface can't access the NaClErrorCode enum. | 364 * interface can't access the NaClErrorCode enum. |
| 366 */ | 365 */ |
| 367 void ReportSelLdrStatus([in] PP_Instance instance, | 366 void ReportSelLdrStatus([in] PP_Instance instance, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 397 * Otherwise, |stream_callback| is called repeatedly with blocks of data | 396 * Otherwise, |stream_callback| is called repeatedly with blocks of data |
| 398 * as they are received. |stream_finished_callback| is called after all | 397 * as they are received. |stream_finished_callback| is called after all |
| 399 * data has been received and dispatched to |stream_callback|. | 398 * data has been received and dispatched to |stream_callback|. |
| 400 */ | 399 */ |
| 401 void StreamPexe([in] PP_Instance instance, | 400 void StreamPexe([in] PP_Instance instance, |
| 402 [in] str_t pexe_url, | 401 [in] str_t pexe_url, |
| 403 [in] int32_t opt_level, | 402 [in] int32_t opt_level, |
| 404 [in] PPP_PexeStreamHandler stream_handler, | 403 [in] PPP_PexeStreamHandler stream_handler, |
| 405 [inout] mem_t stream_handler_user_data); | 404 [inout] mem_t stream_handler_user_data); |
| 406 }; | 405 }; |
| OLD | NEW |