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