summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 00:25:47 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 00:25:47 +0000
commita4429ce8dfbf7e925536c5b2246a020b9faf4b73 (patch)
treed1d90f1d27c4959aca1680c9acc6846e0aea568d /ppapi/api
parentfa4b0e3793c57a0d60a9ccad12122694c4e2071b (diff)
downloadchromium_src-a4429ce8dfbf7e925536c5b2246a020b9faf4b73.zip
chromium_src-a4429ce8dfbf7e925536c5b2246a020b9faf4b73.tar.gz
chromium_src-a4429ce8dfbf7e925536c5b2246a020b9faf4b73.tar.bz2
Pepper: Move PnaclOptions outside trusted plugin.
I ran into this while moving the Manifest code out of the trusted plugin and figured this was big enough to stand on its own. We have to create a PP_PNaClOptions struct instead of PnaclOptions so that the objects of that type can be passed to functions in PPB_NaCl_Private. BUG=239656 Review URL: https://codereview.chromium.org/235983020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/ppb_nacl_private.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
index 418310d..e10b7b7 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -133,6 +133,12 @@ enum PP_NaClReadyState {
PP_NACL_READY_STATE_DONE = 4
};
+struct PP_PNaClOptions {
+ PP_Bool translate;
+ PP_Bool is_debug;
+ int32_t opt_level;
+};
+
/* PPB_NaCl_Private */
interface PPB_NaCl_Private {
/* Launches NaCl's sel_ldr process. Returns PP_EXTERNAL_PLUGIN_OK on success