summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppp_class_proxy.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 19:41:30 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 19:41:30 +0000
commitedb5b05700f53fb7b1827727777cc15b50370ccb (patch)
tree4cc0fc0bf581503e6fd273a037a63353ca41bf9c /ppapi/proxy/ppp_class_proxy.h
parentdc20acdfb4026b23709beec34a187dfde58af437 (diff)
downloadchromium_src-edb5b05700f53fb7b1827727777cc15b50370ccb.zip
chromium_src-edb5b05700f53fb7b1827727777cc15b50370ccb.tar.gz
chromium_src-edb5b05700f53fb7b1827727777cc15b50370ccb.tar.bz2
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
Diffstat (limited to 'ppapi/proxy/ppp_class_proxy.h')
-rw-r--r--ppapi/proxy/ppp_class_proxy.h5
1 files changed, 5 insertions, 0 deletions
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);
};