From edb5b05700f53fb7b1827727777cc15b50370ccb Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Mon, 18 Jun 2012 19:41:30 +0000 Subject: Actually free plugin implement vars when running out of process when the plugin holds a reference beyond the lifetime of the instance. Review URL: https://chromiumcodereview.appspot.com/10542150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142787 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/ppp_class_proxy.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ppapi/proxy/ppp_class_proxy.h') diff --git a/ppapi/proxy/ppp_class_proxy.h b/ppapi/proxy/ppp_class_proxy.h index 5ad0959..f890b3d 100644 --- a/ppapi/proxy/ppp_class_proxy.h +++ b/ppapi/proxy/ppp_class_proxy.h @@ -86,6 +86,11 @@ class PPP_Class_Proxy : public InterfaceProxy { 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); }; -- cgit v1.1