Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 318463002: Revert of Pepper: Refactor OpenManifestEntry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 /* Returns the manifest url as passed as a plugin argument. */ 382 /* Returns the manifest url as passed as a plugin argument. */
383 PP_Var GetManifestURLArgument([in] PP_Instance instance); 383 PP_Var GetManifestURLArgument([in] PP_Instance instance);
384 384
385 PP_Bool DevInterfacesEnabled([in] PP_Instance instance); 385 PP_Bool DevInterfacesEnabled([in] PP_Instance instance);
386 386
387 PP_Bool GetManifestProgramURL([in] PP_Instance instance, 387 PP_Bool GetManifestProgramURL([in] PP_Instance instance,
388 [out] PP_Var full_url, 388 [out] PP_Var full_url,
389 [out] PP_PNaClOptions pnacl_options, 389 [out] PP_PNaClOptions pnacl_options,
390 [out] PP_Bool uses_nonsfi_mode); 390 [out] PP_Bool uses_nonsfi_mode);
391 391
392 /* Opens a manifest entry for the given instance. If this is for a helper 392 PP_Bool ManifestResolveKey([in] PP_Instance instance,
393 * process, we consult our internal pnacl.json instead of the user-supplied 393 [in] PP_Bool helper_process,
394 * NMF. 394 [in] str_t key,
395 * Fails for files which require PNaCl translation. 395 [out] PP_Var full_url,
396 */ 396 [out] PP_PNaClOptions pnacl_options);
397 void OpenManifestEntry([in] PP_Instance instance,
398 [in] PP_Bool is_helper_process,
399 [in] str_t key,
400 [out] PP_NaClFileInfo file_info,
401 [in] PP_CompletionCallback callback);
402 397
403 /* Returns the filenames for the llc and ld tools, parsing that information 398 /* Returns the filenames for the llc and ld tools, parsing that information
404 * from the file given in |filename|. 399 * from the file given in |filename|.
405 */ 400 */
406 PP_Bool GetPnaclResourceInfo([in] PP_Instance instance, 401 PP_Bool GetPnaclResourceInfo([in] PP_Instance instance,
407 [in] str_t filename, 402 [in] str_t filename,
408 [out] PP_Var llc_tool_name, 403 [out] PP_Var llc_tool_name,
409 [out] PP_Var ld_tool_name); 404 [out] PP_Var ld_tool_name);
410 405
411 // PP_Var string of attributes describing the CPU features supported 406 // PP_Var string of attributes describing the CPU features supported
(...skipping 10 matching lines...) Expand all
422 417
423 /* Downloads the .nexe file at the given URL to a file, and sets |file_info| 418 /* Downloads the .nexe file at the given URL to a file, and sets |file_info|
424 * to information for a handle to a file containing its contents. 419 * to information for a handle to a file containing its contents.
425 * If metadata for identity-based validation caching is available 420 * If metadata for identity-based validation caching is available
426 * then it sets token information in |file_info| (otherwise left untouched). 421 * then it sets token information in |file_info| (otherwise left untouched).
427 */ 422 */
428 void DownloadNexe([in] PP_Instance instance, 423 void DownloadNexe([in] PP_Instance instance,
429 [in] str_t url, 424 [in] str_t url,
430 [out] PP_NaClFileInfo file_info, 425 [out] PP_NaClFileInfo file_info,
431 [in] PP_CompletionCallback callback); 426 [in] PP_CompletionCallback callback);
427
428 /* Downloads a non-nexe file specified in the manifest, and sets |file_info|
429 * to corresponding information about the file. */
430 void DownloadFile([in] PP_Instance instance,
431 [in] str_t url,
432 [out] PP_NaClFileInfo file_info,
433 [in] PP_CompletionCallback callback);
432 }; 434 };
OLDNEW
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698