diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:37:05 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:37:05 +0000 |
commit | 422c0f17466cddf30fd6815f9d3519a3815264c6 (patch) | |
tree | 416182cac3cc9968888273a8e68e58e51b45358c /chrome/plugin/webplugin_delegate_stub.h | |
parent | bfe5c69fc8cd05558fa5571ff8699a5b0edf0a64 (diff) | |
download | chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.zip chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.tar.gz chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.tar.bz2 |
Fourth patch in making destructors of refcounted objects private.
BUG=26749
Review URL: http://codereview.chromium.org/360043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.h')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h index e85ca0a..79b36bf 100644 --- a/chrome/plugin/webplugin_delegate_stub.h +++ b/chrome/plugin/webplugin_delegate_stub.h @@ -38,7 +38,6 @@ class WebPluginDelegateStub : public IPC::Channel::Listener, public: WebPluginDelegateStub(const std::string& mime_type, int instance_id, PluginChannel* channel); - ~WebPluginDelegateStub(); // IPC::Channel::Listener implementation: virtual void OnMessageReceived(const IPC::Message& msg); @@ -50,6 +49,10 @@ class WebPluginDelegateStub : public IPC::Channel::Listener, WebPluginProxy* webplugin() { return webplugin_; } private: + friend class base::RefCounted<WebPluginDelegateStub>; + + ~WebPluginDelegateStub(); + // Message handlers for the WebPluginDelegate calls that are proxied from the // renderer over the IPC channel. void OnInit(const PluginMsg_Init_Params& params, bool* result); |