diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-22 22:42:08 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-22 22:42:08 +0000 |
commit | 16499d49e7906aece538a9ac027a7805073f65e9 (patch) | |
tree | 9b095de4b33f1ab04be95bf9af7e76cc3afd749e /ppapi/api | |
parent | e89f1bf59f0c768f2b02001a88e2a391f15bbd80 (diff) | |
download | chromium_src-16499d49e7906aece538a9ac027a7805073f65e9.zip chromium_src-16499d49e7906aece538a9ac027a7805073f65e9.tar.gz chromium_src-16499d49e7906aece538a9ac027a7805073f65e9.tar.bz2 |
Pepper: Move some manifest processing for refactor.
This moves some of the manifest processing logic outside the trusted plugin.
This reduces the number of things we need to expose in PPB_NaCl_Private.
BUG=239656
Review URL: https://codereview.chromium.org/243353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r-- | ppapi/api/private/ppb_nacl_private.idl | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl index 4c783d0..2042423 100644 --- a/ppapi/api/private/ppb_nacl_private.idl +++ b/ppapi/api/private/ppb_nacl_private.idl @@ -331,17 +331,9 @@ interface PPB_NaCl_Private { /* Returns the NaCl readiness status for this instance. */ PP_NaClReadyState GetNaClReadyState([in] PP_Instance instance); - /* Sets the NaCl readiness status for this instance. */ - void SetNaClReadyState([in] PP_Instance instance, - [in] PP_NaClReadyState ready_state); - /* Returns true if the plugin is an installed app. */ PP_Bool GetIsInstalled([in] PP_Instance instance); - /* Sets whether the plugin is an installed app. */ - void SetIsInstalled([in] PP_Instance instance, - [in] PP_Bool is_installed); - /* Returns the exit status of the plugin process. */ int32_t GetExitStatus([in] PP_Instance instance); @@ -369,4 +361,11 @@ interface PPB_NaCl_Private { [in] str_t url); PP_Var ParseDataURL([in] str_t data_url); + + /* Processes the NaCl manifest once it's been retrieved. + * TODO(teravest): Move the rest of the supporting logic out of the trusted + * plugin. + */ + void ProcessNaClManifest([in] PP_Instance instance, + [in] str_t program_url); }; |