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

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: Make win bot happy Created 8 years, 6 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 e3bd540551e1b51e6ada5158bea918e64b71ea46..0c6fe0b3dc9386f79c98cb7a65b3fabd1e5f25be 100644
--- a/content/browser/ppapi_plugin_process_host.h
+++ b/content/browser/ppapi_plugin_process_host.h
@@ -52,15 +52,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