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

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

Issue 6881012: Keep the module in scope when executing scripts. This prevents a crash when the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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.h » ('j') | ppapi/proxy/host_dispatcher.cc » ('J')
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 81833)
+++ ppapi/c/private/ppb_proxy_private.h (working copy)
@@ -38,6 +38,12 @@
// buffer. Returns 0 on failure or if the url loader doesn't have any data
// now.
int32_t (*GetURLLoaderBufferedBytes)(PP_Resource url_loader);
+
+ // Allows adding additional refcounts to the PluginModule that owns the
+ // proxy dispatcher (and all interface proxies). For every AddRef call
+ // there must be a corresponding release call.
+ void (*AddRefModule)(PP_Module module);
+ void (*ReleaseModule)(PP_Module module);
};
#endif // PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
« no previous file with comments | « no previous file | ppapi/proxy/host_dispatcher.h » ('j') | ppapi/proxy/host_dispatcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698