diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-25 22:19:54 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-25 22:19:54 +0000 |
commit | 4524fa338481939a676f1dece4b1095dd2310df2 (patch) | |
tree | ac21677bee4cf9ee5c0028e438eedd454adced56 /ppapi/api | |
parent | f496a4b8961dd855a4e27c48f5a56eabc22b296b (diff) | |
download | chromium_src-4524fa338481939a676f1dece4b1095dd2310df2.zip chromium_src-4524fa338481939a676f1dece4b1095dd2310df2.tar.gz chromium_src-4524fa338481939a676f1dece4b1095dd2310df2.tar.bz2 |
PPAPI/NaCl: Define NexeLoadManager class.
This adds an object that tracks the lifetime of the "Plugin" class in the
trusted plugin. State is kept in this class as long as the plugin is alive, to
make accounting much simpler for PPB_NaCl_Private.
This is derived from https://codereview.chromium.org/180213006/ but adds a
bugfix that initializes NexeLoadManager earlier.
BUG=239656
Review URL: https://codereview.chromium.org/208913002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r-- | ppapi/api/private/ppb_nacl_private.idl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl index c17ab8b..3249b99 100644 --- a/ppapi/api/private/ppb_nacl_private.idl +++ b/ppapi/api/private/ppb_nacl_private.idl @@ -278,6 +278,9 @@ interface PPB_NaCl_Private { [in] str_t console_message, [in] PP_Bool is_installed); + /* Performs internal setup when an instance is created. */ + void InstanceCreated([in] PP_Instance instance); + /* Performs internal cleanup when an instance is destroyed. */ void InstanceDestroyed([in] PP_Instance instance); |