Index: chrome/common/child_process_host.h |
=================================================================== |
--- chrome/common/child_process_host.h (revision 70108) |
+++ chrome/common/child_process_host.h (working copy) |
@@ -80,7 +80,7 @@ |
virtual void InstanceCreated(); |
// IPC::Channel::Listener implementation: |
- virtual void OnMessageReceived(const IPC::Message& msg) { } |
+ virtual bool OnMessageReceived(const IPC::Message& msg) { return false; } |
virtual void OnChannelConnected(int32 peer_pid) { } |
virtual void OnChannelError() { } |
@@ -102,7 +102,7 @@ |
class ListenerHook : public IPC::Channel::Listener { |
public: |
explicit ListenerHook(ChildProcessHost* host); |
- virtual void OnMessageReceived(const IPC::Message& msg); |
+ virtual bool OnMessageReceived(const IPC::Message& msg); |
virtual void OnChannelConnected(int32 peer_pid); |
virtual void OnChannelError(); |
private: |