summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_channel.h
diff options
context:
space:
mode:
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;