Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: ppapi/api/ppp_instance.idl

Issue 7576026: PPAPI: header comments on when PPP_Instance::DidDestroy and PPP_ShutdownModule (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/api/ppp.idl ('k') | ppapi/c/ppp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppp_instance.idl
===================================================================
--- ppapi/api/ppp_instance.idl (revision 95545)
+++ ppapi/api/ppp_instance.idl (working copy)
@@ -89,17 +89,18 @@
* instance but this isn't required; all resources associated with the deleted
* instance will be automatically freed when this function returns.
*
- * The instance identifier will still be valid during this call so the module
+ * The instance identifier will still be valid during this call, so the module
* can perform cleanup-related tasks. Once this function returns, the
* <code>PP_Instance</code> handle will be invalid. This means that you can't
- * do any asynchronous operations like network requests or file writes from
- * this function since they will be immediately canceled.
+ * do any asynchronous operations like network requests, file writes or
+ * messaging from this function since they will be immediately canceled.
*
- * <strong>Note:</strong> This function may be skipped in certain
- * circumstances when Chrome does "fast shutdown". Fast shutdown will happen
- * in some cases when all module instances are being deleted, and no cleanup
- * functions will be called. The module will just be unloaded and the process
- * terminated.
+ * <strong>Note:</strong> This function will always be skipped on untrusted
+ * (Native Client) implementations. This function may be skipped on trusted
+ * implementations in certain circumstances when Chrome does "fast shutdown"
+ * of a web page. Fast shutdown will happen in some cases when all module
+ * instances are being deleted, and no cleanup functions will be called.
+ * The module will just be unloaded and the process terminated.
*
* @param[in] instance A <code>PP_Instance</code> indentifying one instance
* of a module.
« no previous file with comments | « ppapi/api/ppp.idl ('k') | ppapi/c/ppp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698