diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-05 21:46:36 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-05 21:46:36 +0000 |
commit | 4103bb0f0d318dafbb9d274bad4af236bbf79eb4 (patch) | |
tree | 2175cdb9452e98a9a2e135b01ec1b1fdec4b14f8 /ppapi/api | |
parent | 39ab7058d339186f71f7c6345d60084e44c1540a (diff) | |
download | chromium_src-4103bb0f0d318dafbb9d274bad4af236bbf79eb4.zip chromium_src-4103bb0f0d318dafbb9d274bad4af236bbf79eb4.tar.gz chromium_src-4103bb0f0d318dafbb9d274bad4af236bbf79eb4.tar.bz2 |
Pepper: Move manifest logic to components/nacl.
The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal.
BUG=353592
R=bbudge@chromium.org, mallinath@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250
Review URL: https://codereview.chromium.org/264943003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r-- | ppapi/api/private/ppb_nacl_private.idl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl index 04b6758..a1fcb45 100644 --- a/ppapi/api/private/ppb_nacl_private.idl +++ b/ppapi/api/private/ppb_nacl_private.idl @@ -411,4 +411,25 @@ interface PPB_NaCl_Private { void DownloadManifestToBuffer([in] PP_Instance instance, [out] PP_Var data, [in] PP_CompletionCallback callback); + + int32_t CreatePnaclManifest([in] PP_Instance instance); + int32_t CreateJsonManifest([in] PP_Instance instance, + [in] str_t manifest_base_url, + [in] str_t sandbox_isa, + [in] str_t manifest_data); + + void DestroyManifest([in] PP_Instance instance, + [in] int32_t manifest_id); + + PP_Bool GetManifestProgramURL([in] PP_Instance instance, + [in] int32_t manifest_id, + [out] PP_Var full_url, + [out] PP_PNaClOptions pnacl_options, + [out] PP_Bool uses_nonsfi_mode); + + PP_Bool ManifestResolveKey([in] PP_Instance instance, + [in] int32_t manifest_id, + [in] str_t key, + [out] PP_Var full_url, + [out] PP_PNaClOptions pnacl_options); }; |