summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
authorpolina@google.com <polina@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 17:45:36 +0000
committerpolina@google.com <polina@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 17:45:36 +0000
commit4e601fcf25223ca20444bcc22c252d84d5a1621e (patch)
tree613fb202da903a24cd5b19373b8d1c6274961f81 /ppapi/cpp
parent3ddc371345a7a6c1a3cb1c570b145aa3df064ddb (diff)
downloadchromium_src-4e601fcf25223ca20444bcc22c252d84d5a1621e.zip
chromium_src-4e601fcf25223ca20444bcc22c252d84d5a1621e.tar.gz
chromium_src-4e601fcf25223ca20444bcc22c252d84d5a1621e.tar.bz2
PPAPI: header comments on when PPP_Instance::DidDestroy and PPP_ShutdownModule
are called on trusted and untrusted implementations. BUG=91758 TEST=n/a Review URL: http://codereview.chromium.org/7576026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95835 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r--ppapi/cpp/instance.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/ppapi/cpp/instance.h b/ppapi/cpp/instance.h
index 8bd1ead..6f20dd9 100644
--- a/ppapi/cpp/instance.h
+++ b/ppapi/cpp/instance.h
@@ -58,11 +58,12 @@ class Instance {
/// asynchronous operations like network requests or file writes from this
/// destructor since they will be immediately canceled.
///
- /// <strong>Important note:</strong> This function may be skipped in certain
- /// circumstances when Chrome does "fast shutdown". Fast shutdown will happen
- /// in some cases when all plugin instances are being deleted, and no cleanup
- /// functions will be called. The module will just be unloaded and the process
- /// terminated.
+ /// <strong>Important note:</strong> This function will always be skipped on
+ /// untrusted (Native Client) implementations. This function may be skipped
+ /// in certain circumstances when Chrome does "fast shutdown". Fast shutdown
+ /// will happen in some cases when all plugin instances are being deleted,
+ /// and no cleanup functions will be called. The module will just be unloaded
+ /// and the process terminated.
virtual ~Instance();
/// Returns the PP_Instance identifying this object. When using the PPAPI C++