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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 PP_Bool IsPNaCl([in] PP_Instance instance); | 404 PP_Bool IsPNaCl([in] PP_Instance instance); |
405 | 405 |
406 PP_Bool DevInterfacesEnabled([in] PP_Instance instance); | 406 PP_Bool DevInterfacesEnabled([in] PP_Instance instance); |
407 | 407 |
408 /* Downloads the manifest into the buffer |data|, invoking | 408 /* Downloads the manifest into the buffer |data|, invoking |
409 * |callback| when finished. | 409 * |callback| when finished. |
410 * TODO(teravest): Merge data URL parsing into this. */ | 410 * TODO(teravest): Merge data URL parsing into this. */ |
411 void DownloadManifestToBuffer([in] PP_Instance instance, | 411 void DownloadManifestToBuffer([in] PP_Instance instance, |
412 [out] PP_Var data, | 412 [out] PP_Var data, |
413 [in] PP_CompletionCallback callback); | 413 [in] PP_CompletionCallback callback); |
| 414 |
| 415 int32_t CreatePnaclManifest([in] PP_Instance instance); |
| 416 int32_t CreateJsonManifest([in] PP_Instance instance, |
| 417 [in] str_t manifest_base_url, |
| 418 [in] str_t sandbox_isa, |
| 419 [in] str_t manifest_data); |
| 420 |
| 421 void DestroyManifest([in] PP_Instance instance, |
| 422 [in] int32_t manifest_id); |
| 423 |
| 424 PP_Bool GetManifestProgramURL([in] PP_Instance instance, |
| 425 [in] int32_t manifest_id, |
| 426 [out] PP_Var full_url, |
| 427 [out] PP_PNaClOptions pnacl_options, |
| 428 [out] PP_Bool uses_nonsfi_mode); |
| 429 |
| 430 PP_Bool ManifestResolveKey([in] PP_Instance instance, |
| 431 [in] int32_t manifest_id, |
| 432 [in] str_t key, |
| 433 [out] PP_Var full_url, |
| 434 [out] PP_PNaClOptions pnacl_options); |
414 }; | 435 }; |
OLD | NEW |