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

Unified Diff: ppapi/c/private/ppb_proxy_private.h

Issue 8222021: Prevent reentrant destructors in the PluginModule. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « no previous file | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_proxy_private.h
===================================================================
--- ppapi/c/private/ppb_proxy_private.h (revision 104693)
+++ ppapi/c/private/ppb_proxy_private.h (working copy)
@@ -10,7 +10,7 @@
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_resource.h"
-#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;4"
+#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;5"
// Exposes functions needed by the out-of-process proxy to call into the
// renderer PPAPI implementation.
@@ -44,6 +44,9 @@
// there must be a corresponding release call.
void (*AddRefModule)(PP_Module module);
void (*ReleaseModule)(PP_Module module);
+
+ // Allows asserts to be written for some bad conditions while cleaning up.
+ PP_Bool (*IsInModuleDestructor)(PP_Module module);
};
#endif // PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
« no previous file with comments | « no previous file | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698