summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_channel.h
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-06 18:07:10 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-06 18:07:10 +0000
commitc8ea1ef58babf7b373a30d54e5806598cfdf7a5b (patch)
tree25e495ddd543402f644d5b13908a8f08301e1af6 /chrome/common/ipc_channel.h
parentae3ec240a09e84a3760c452cd594132cc26de955 (diff)
downloadchromium_src-c8ea1ef58babf7b373a30d54e5806598cfdf7a5b.zip
chromium_src-c8ea1ef58babf7b373a30d54e5806598cfdf7a5b.tar.gz
chromium_src-c8ea1ef58babf7b373a30d54e5806598cfdf7a5b.tar.bz2
Adds missing virtual destructors on a couple of interface classes.
Patch contributed by knorton@google.com See http://codereview.chromium.org/270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_channel.h')
-rw-r--r--chrome/common/ipc_channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/ipc_channel.h b/chrome/common/ipc_channel.h
index 94d41a3..331dac6 100644
--- a/chrome/common/ipc_channel.h
+++ b/chrome/common/ipc_channel.h
@@ -23,6 +23,8 @@ class Channel : public MessageLoopForIO::Watcher,
// Implemented by consumers of a Channel to receive messages.
class Listener {
public:
+ virtual ~Listener() {}
+
// Called when a message is received.
virtual void OnMessageReceived(const Message& message) = 0;