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

Unified Diff: ppapi/proxy/ppp_class_proxy.h

Issue 10542150: Actually free plugin implement vars when running out of process when the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/proxy/ppp_class_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_class_proxy.h
===================================================================
--- ppapi/proxy/ppp_class_proxy.h (revision 141525)
+++ ppapi/proxy/ppp_class_proxy.h (working copy)
@@ -86,6 +86,11 @@
SerializedVarReturnValue result);
void OnMsgDeallocate(int64 ppp_class, int64 object);
+ // Returns true if the given class/data points to a plugin-implemented
+ // object. On failure, the exception, if non-NULL, will also be set.
+ bool ValidateUserData(int64 ppp_class, int64 class_data,
+ SerializedVarOutParam* exception);
+
DISALLOW_COPY_AND_ASSIGN(PPP_Class_Proxy);
};
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/proxy/ppp_class_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698