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

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

Issue 270863006: Pepper: Miscellaneous trusted plugin cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 Thu May 8 10:24:52 2014. */ 6 /* From private/ppb_nacl_private.idl modified Mon May 12 10:21:30 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 const char* url); 392 const char* url);
393 /* Returns the parsed contents of a data URL. */ 393 /* Returns the parsed contents of a data URL. */
394 struct PP_Var (*ParseDataURL)(const char* data_url); 394 struct PP_Var (*ParseDataURL)(const char* data_url);
395 /* Processes the NaCl manifest once it's been retrieved. 395 /* Processes the NaCl manifest once it's been retrieved.
396 * TODO(teravest): Move the rest of the supporting logic out of the trusted 396 * TODO(teravest): Move the rest of the supporting logic out of the trusted
397 * plugin. 397 * plugin.
398 */ 398 */
399 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url); 399 void (*ProcessNaClManifest)(PP_Instance instance, const char* program_url);
400 /* Returns the manifest url as passed as a plugin argument. */ 400 /* Returns the manifest url as passed as a plugin argument. */
401 struct PP_Var (*GetManifestURLArgument)(PP_Instance instance); 401 struct PP_Var (*GetManifestURLArgument)(PP_Instance instance);
402 PP_Bool (*IsPNaCl)(PP_Instance instance);
403 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance); 402 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance);
404 /* Downloads the manifest into the buffer |data|, invoking 403 /* Downloads the manifest into the buffer |data|, invoking
405 * |callback| when finished. 404 * |callback| when finished.
406 * TODO(teravest): Merge data URL parsing into this. */ 405 * TODO(teravest): Merge data URL parsing into this. */
407 void (*DownloadManifestToBuffer)(PP_Instance instance, 406 void (*DownloadManifestToBuffer)(PP_Instance instance,
408 struct PP_Var* data, 407 struct PP_Var* data,
409 struct PP_CompletionCallback callback); 408 struct PP_CompletionCallback callback);
410 int32_t (*CreatePnaclManifest)(PP_Instance instance); 409 int32_t (*CreatePnaclManifest)(PP_Instance instance);
411 int32_t (*CreateJsonManifest)(PP_Instance instance, 410 int32_t (*CreateJsonManifest)(PP_Instance instance,
412 const char* manifest_base_url, 411 const char* manifest_base_url,
413 const char* sandbox_isa,
414 const char* manifest_data); 412 const char* manifest_data);
415 void (*DestroyManifest)(PP_Instance instance, int32_t manifest_id); 413 void (*DestroyManifest)(PP_Instance instance, int32_t manifest_id);
416 PP_Bool (*GetManifestProgramURL)(PP_Instance instance, 414 PP_Bool (*GetManifestProgramURL)(PP_Instance instance,
417 int32_t manifest_id, 415 int32_t manifest_id,
418 struct PP_Var* full_url, 416 struct PP_Var* full_url,
419 struct PP_PNaClOptions* pnacl_options, 417 struct PP_PNaClOptions* pnacl_options,
420 PP_Bool* uses_nonsfi_mode); 418 PP_Bool* uses_nonsfi_mode);
421 PP_Bool (*ManifestResolveKey)(PP_Instance instance, 419 PP_Bool (*ManifestResolveKey)(PP_Instance instance,
422 int32_t manifest_id, 420 int32_t manifest_id,
423 const char* key, 421 const char* key,
(...skipping 17 matching lines...) Expand all
441 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message); 439 void (*PostMessageToJavaScript)(PP_Instance instance, const char* message);
442 }; 440 };
443 441
444 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 442 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
445 /** 443 /**
446 * @} 444 * @}
447 */ 445 */
448 446
449 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 447 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
450 448
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