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

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

Issue 264943003: Pepper: Move manifest logic to components/nacl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo 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
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 Sat May 3 04:07:13 2014. */ 6 /* From private/ppb_nacl_private.idl modified Mon May 5 10:57:38 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 402 PP_Bool (*IsPNaCl)(PP_Instance instance);
403 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance); 403 PP_Bool (*DevInterfacesEnabled)(PP_Instance instance);
404 /* Downloads the manifest into the buffer |data|, invoking 404 /* Downloads the manifest into the buffer |data|, invoking
405 * |callback| when finished. 405 * |callback| when finished.
406 * TODO(teravest): Merge data URL parsing into this. */ 406 * TODO(teravest): Merge data URL parsing into this. */
407 void (*DownloadManifestToBuffer)(PP_Instance instance, 407 void (*DownloadManifestToBuffer)(PP_Instance instance,
408 struct PP_Var* data, 408 struct PP_Var* data,
409 struct PP_CompletionCallback callback); 409 struct PP_CompletionCallback callback);
410 int32_t (*CreatePnaclManifest)(PP_Instance instance);
411 int32_t (*CreateJsonManifest)(PP_Instance instance,
412 const char* manifest_base_url,
413 const char* sandbox_isa,
414 const char* manifest_data);
415 void (*DestroyManifest)(PP_Instance instance, int32_t manifest_id);
416 PP_Bool (*GetManifestProgramURL)(PP_Instance instance,
417 int32_t manifest_id,
418 struct PP_Var* full_url,
419 struct PP_PNaClOptions* pnacl_options,
420 PP_Bool* uses_nonsfi_mode);
421 PP_Bool (*ManifestResolveKey)(PP_Instance instance,
422 int32_t manifest_id,
423 const char* key,
424 struct PP_Var* full_url,
425 struct PP_PNaClOptions* pnacl_options);
410 }; 426 };
411 427
412 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 428 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
413 /** 429 /**
414 * @} 430 * @}
415 */ 431 */
416 432
417 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 433 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
418 434
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/json_manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698