diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-16 21:09:25 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-16 21:09:25 +0000 |
commit | da1bd1855df84f4b851752dfc2ffe56f6e12e925 (patch) | |
tree | 4953bea3627412728228ce0b36a16cb19c2102d7 /ipc/ipc_tests.cc | |
parent | a099f3aeb1fa6c33d0b3f679fbd4e6bc616d85dc (diff) | |
download | chromium_src-da1bd1855df84f4b851752dfc2ffe56f6e12e925.zip chromium_src-da1bd1855df84f4b851752dfc2ffe56f6e12e925.tar.gz chromium_src-da1bd1855df84f4b851752dfc2ffe56f6e12e925.tar.bz2 |
Tag IPC::Channel::Listener implementations with OVERRIDE
Review URL: http://codereview.chromium.org/7661031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_tests.cc')
-rw-r--r-- | ipc/ipc_tests.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_tests.cc b/ipc/ipc_tests.cc index d8e3aeb..2727681 100644 --- a/ipc/ipc_tests.cc +++ b/ipc/ipc_tests.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -288,11 +288,11 @@ TEST_F(IPCChannelTest, ChannelProxyTest) { class ChannelListenerWithOnConnectedSend : public IPC::Channel::Listener { public: - virtual void OnChannelConnected(int32 peer_pid) { + virtual void OnChannelConnected(int32 peer_pid) OVERRIDE { SendNextMessage(); } - virtual bool OnMessageReceived(const IPC::Message& message) { + virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE { IPC::MessageIterator iter(message); iter.NextInt(); @@ -303,7 +303,7 @@ class ChannelListenerWithOnConnectedSend : public IPC::Channel::Listener { return true; } - virtual void OnChannelError() { + virtual void OnChannelError() OVERRIDE { // There is a race when closing the channel so the last message may be lost. EXPECT_LE(messages_left_, 1); MessageLoop::current()->Quit(); |