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

Unified Diff: content/browser/ppapi_plugin_process_host.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: content/browser/ppapi_plugin_process_host.h
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h
index deef50f32b56c1d9659c41e3a23ed9bd8da92ab3..723daace191c331583431fcc0197cb4b5c62d647 100644
--- a/content/browser/ppapi_plugin_process_host.h
+++ b/content/browser/ppapi_plugin_process_host.h
@@ -50,15 +50,23 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate,
// Returns true if the current connection is off-the-record.
virtual bool OffTheRecord() = 0;
+
+ protected:
+ virtual ~Client() {}
};
class PluginClient : public Client {
public:
// Returns the resource context for the renderer requesting the channel.
virtual content::ResourceContext* GetResourceContext() = 0;
+
+ protected:
+ virtual ~PluginClient() {}
};
class BrokerClient : public Client {
+ protected:
+ virtual ~BrokerClient() {}
};
virtual ~PpapiPluginProcessHost();

Powered by Google App Engine
This is Rietveld 408576698