diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 14:24:31 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 14:24:31 +0000 |
commit | 5732c7cfeac132bbade424df9ebd2f1c208c1bb5 (patch) | |
tree | 8a37ff99707b876180e2e17dbbbd75e3938b058e /ppapi/proxy/interface_proxy.h | |
parent | 8eb307582d62ed4255fd74f0533e948cff2da2c8 (diff) | |
download | chromium_src-5732c7cfeac132bbade424df9ebd2f1c208c1bb5.zip chromium_src-5732c7cfeac132bbade424df9ebd2f1c208c1bb5.tar.gz chromium_src-5732c7cfeac132bbade424df9ebd2f1c208c1bb5.tar.bz2 |
Revert 106677 (caused several PPAPI test timeouts, see http://crbug.com/101154)
- Remove the proxy callback tracker.
This doesn't properly delete callbacks when the corresponding resource goes
away. This can lead to leaks or crashes in the plugin when the callback is
triggered unexpectedly.
BUG=http://crbug.com/86279
Review URL: http://codereview.chromium.org/8226009
TBR=brettw@chromium.org
Review URL: http://codereview.chromium.org/8364040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106717 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/interface_proxy.h')
-rw-r--r-- | ppapi/proxy/interface_proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/proxy/interface_proxy.h b/ppapi/proxy/interface_proxy.h index a35c63d..b9891b9 100644 --- a/ppapi/proxy/interface_proxy.h +++ b/ppapi/proxy/interface_proxy.h @@ -60,6 +60,9 @@ class InterfaceProxy : public IPC::Channel::Listener, // dispatcher manages our lifetime. InterfaceProxy(Dispatcher* dispatcher); + uint32 SendCallback(PP_CompletionCallback callback); + PP_CompletionCallback ReceiveCallback(uint32 serialized_callback); + private: Dispatcher* dispatcher_; }; |