diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/message_router.cc | 6 | ||||
-rw-r--r-- | chrome/common/message_router.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/chrome/common/message_router.cc b/chrome/common/message_router.cc index b73f2d0..6bd6e95 100644 --- a/chrome/common/message_router.cc +++ b/chrome/common/message_router.cc @@ -4,6 +4,12 @@ #include "chrome/common/message_router.h" +MessageRouter::MessageRouter() { +} + +MessageRouter::~MessageRouter() { +} + void MessageRouter::OnControlMessageReceived(const IPC::Message& msg) { NOTREACHED() << "should override in subclass if you care about control messages"; diff --git a/chrome/common/message_router.h b/chrome/common/message_router.h index 13f763c..6a61091 100644 --- a/chrome/common/message_router.h +++ b/chrome/common/message_router.h @@ -30,8 +30,8 @@ class MessageRouter : public IPC::Channel::Listener, public IPC::Message::Sender { public: - MessageRouter() {} - virtual ~MessageRouter() {} + MessageRouter(); + virtual ~MessageRouter(); // Implemented by subclasses to handle control messages virtual void OnControlMessageReceived(const IPC::Message& msg); |