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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

Issue 301013002: Pepper: Manifest ID cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix type signature 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 | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/plugin.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 /* From private/ppb_nacl_private.idl modified Wed May 28 09:02:13 2014. */ 6 /* From private/ppb_nacl_private.idl modified Thu May 29 08:25:29 2014. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h" 16 #include "ppapi/c/pp_var.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 /* Initializes internal state for a NaCl plugin. */ 382 /* Initializes internal state for a NaCl plugin. */
383 void (*InitializePlugin)(PP_Instance instance, 383 void (*InitializePlugin)(PP_Instance instance,
384 uint32_t argc, 384 uint32_t argc,
385 const char* argn[], 385 const char* argn[],
386 const char* argv[]); 386 const char* argv[]);
387 /* Returns the size of the nexe. */ 387 /* Returns the size of the nexe. */
388 int64_t (*GetNexeSize)(PP_Instance instance); 388 int64_t (*GetNexeSize)(PP_Instance instance);
389 /* Performs accounting for requesting the NaCl manifest at the given URL. */ 389 /* Performs accounting for requesting the NaCl manifest at the given URL. */
390 void (*RequestNaClManifest)(PP_Instance instance, 390 void (*RequestNaClManifest)(PP_Instance instance,
391 const char* manifest_url, 391 const char* manifest_url,
392 int32_t* manifest_id,
393 struct PP_CompletionCallback callback); 392 struct PP_CompletionCallback callback);
394 struct PP_Var (*GetManifestBaseURL)(PP_Instance instance); 393 struct PP_Var (*GetManifestBaseURL)(PP_Instance instance);
395 /* Processes the NaCl manifest once it's been retrieved. 394 /* Processes the NaCl manifest once it's been retrieved.
396 * TODO(teravest): Move the rest of the supporting logic out of the trusted 395 * TODO(teravest): Move the rest of the supporting logic out of the trusted
397 * plugin. 396 * plugin.
398 */ 397 */
399 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url); 398 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url);
400 /* Returns the manifest url as passed as a plugin argument. */ 399 /* Returns the manifest url as passed as a plugin argument. */
401 struct PP_Var (*GetManifestURLArgument)(PP_Instance instance); 400 struct PP_Var (*GetManifestURLArgument)(PP_Instance instance);
402 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance); 401 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance);
403 int32_t (*CreatePnaclManifest)(PP_Instance instance);
404 void (*DestroyManifest)(PP_Instance instance, int32_t manifest_id);
405 PP_Bool (*GetManifestProgramURL)(PP_Instance instance, 402 PP_Bool (*GetManifestProgramURL)(PP_Instance instance,
406 int32_t manifest_id,
407 struct PP_Var* full_url, 403 struct PP_Var* full_url,
408 struct PP_PNaClOptions* pnacl_options, 404 struct PP_PNaClOptions* pnacl_options,
409 PP_Bool* uses_nonsfi_mode); 405 PP_Bool* uses_nonsfi_mode);
410 PP_Bool (*ManifestResolveKey)(PP_Instance instance, 406 PP_Bool (*ManifestResolveKey)(PP_Instance instance,
411 int32_t manifest_id, 407 PP_Bool helper_process,
412 const char* key, 408 const char* key,
413 struct PP_Var* full_url, 409 struct PP_Var* full_url,
414 struct PP_PNaClOptions* pnacl_options); 410 struct PP_PNaClOptions* pnacl_options);
415 /* Returns the filenames for the llc and ld tools, parsing that information 411 /* Returns the filenames for the llc and ld tools, parsing that information
416 * from the file given in |filename|. 412 * from the file given in |filename|.
417 */ 413 */
418 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance, 414 PP_Bool (*GetPnaclResourceInfo)(PP_Instance instance,
419 const char* filename, 415 const char* filename,
420 struct PP_Var* llc_tool_name, 416 struct PP_Var* llc_tool_name,
421 struct PP_Var* ld_tool_name); 417 struct PP_Var* ld_tool_name);
(...skipping 23 matching lines...) Expand all
445 struct PP_CompletionCallback callback); 441 struct PP_CompletionCallback callback);
446 }; 442 };
447 443
448 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 444 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
449 /** 445 /**
450 * @} 446 * @}
451 */ 447 */
452 448
453 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 449 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
454 450
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698