summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 19:41:46 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 19:41:46 +0000
commitd40d39bb6f66d7a67026d8a3f7c7041212dc513c (patch)
tree942c3e53caac922c7096c04c2590520256d215d9 /ppapi/api
parentf9888187e1fc2ada2c2c4fd149e8643c9c65874e (diff)
downloadchromium_src-d40d39bb6f66d7a67026d8a3f7c7041212dc513c.zip
chromium_src-d40d39bb6f66d7a67026d8a3f7c7041212dc513c.tar.gz
chromium_src-d40d39bb6f66d7a67026d8a3f7c7041212dc513c.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 Review URL: https://codereview.chromium.org/264943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268250 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/ppb_nacl_private.idl21
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);
};