diff options
Diffstat (limited to 'ipc/ipc_channel_posix_unittest.cc')
-rw-r--r-- | ipc/ipc_channel_posix_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc index 786623b..d5346b9 100644 --- a/ipc/ipc_channel_posix_unittest.cc +++ b/ipc/ipc_channel_posix_unittest.cc @@ -45,35 +45,35 @@ class IPCChannelPosixTestListener : public IPC::Listener { quit_only_on_message_(quit_only_on_message) { } - ~IPCChannelPosixTestListener() override {} + virtual ~IPCChannelPosixTestListener() {} - bool OnMessageReceived(const IPC::Message& message) override { + virtual bool OnMessageReceived(const IPC::Message& message) override { EXPECT_EQ(message.type(), kQuitMessage); status_ = MESSAGE_RECEIVED; QuitRunLoop(); return true; } - void OnChannelConnected(int32 peer_pid) override { + virtual void OnChannelConnected(int32 peer_pid) override { status_ = CONNECTED; if (!quit_only_on_message_) { QuitRunLoop(); } } - void OnChannelError() override { + virtual void OnChannelError() override { status_ = CHANNEL_ERROR; QuitRunLoop(); } - void OnChannelDenied() override { + virtual void OnChannelDenied() override { status_ = DENIED; if (!quit_only_on_message_) { QuitRunLoop(); } } - void OnChannelListenError() override { + virtual void OnChannelListenError() override { status_ = LISTEN_ERROR; if (!quit_only_on_message_) { QuitRunLoop(); |