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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr | 419 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr |
420 PP_Var GetCpuFeatureAttrs(); | 420 PP_Var GetCpuFeatureAttrs(); |
421 | 421 |
422 /* Posts a message to the JavaScript object for the given instance. | 422 /* Posts a message to the JavaScript object for the given instance. |
423 * This method may be called on any thread. | 423 * This method may be called on any thread. |
424 */ | 424 */ |
425 void PostMessageToJavaScript([in] PP_Instance instance, | 425 void PostMessageToJavaScript([in] PP_Instance instance, |
426 [in] str_t message); | 426 [in] str_t message); |
427 | 427 |
428 /* Downloads the .nexe file at the given URL to a file, and sets |handle| | 428 /* Downloads the .nexe file at the given URL to a file, and sets |handle| |
429 * to a handle to a file containing its contents. */ | 429 * to a handle to a file containing its contents. |
| 430 * If metadata for identity-based validation caching is available |
| 431 * then it sets file_token_lo and file_token_lo (otherwise left untouched). |
| 432 */ |
430 void DownloadNexe([in] PP_Instance instance, | 433 void DownloadNexe([in] PP_Instance instance, |
431 [in] str_t url, | 434 [in] str_t url, |
432 [out] PP_FileHandle handle, | 435 [out] PP_FileHandle handle, |
| 436 [out] uint64_t file_token_lo, |
| 437 [out] uint64_t file_token_hi, |
433 [in] PP_CompletionCallback callback); | 438 [in] PP_CompletionCallback callback); |
434 }; | 439 }; |
OLD | NEW |