diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-06 03:53:02 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-06 03:53:02 +0000 |
commit | 441061813c0a5c13392fa1ceff763639cccf3233 (patch) | |
tree | 7e4b83ec66c53ac08f22725ec1b2ca6d632213f6 /base/message_pump_libevent_unittest.cc | |
parent | f493d9f1ce7f520fbbe4fbe4bce282242941783c (diff) | |
download | chromium_src-441061813c0a5c13392fa1ceff763639cccf3233.zip chromium_src-441061813c0a5c13392fa1ceff763639cccf3233.tar.gz chromium_src-441061813c0a5c13392fa1ceff763639cccf3233.tar.bz2 |
Add virtual and OVERRIDE to base/ implementation files
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/10004001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_libevent_unittest.cc')
-rw-r--r-- | base/message_pump_libevent_unittest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/message_pump_libevent_unittest.cc b/base/message_pump_libevent_unittest.cc index c3ec97e..19a2084 100644 --- a/base/message_pump_libevent_unittest.cc +++ b/base/message_pump_libevent_unittest.cc @@ -25,7 +25,7 @@ class MessagePumpLibeventTest : public testing::Test { io_thread_("MessagePumpLibeventTestIOThread") {} virtual ~MessagePumpLibeventTest() {} - virtual void SetUp() { + virtual void SetUp() OVERRIDE { Thread::Options options(MessageLoop::TYPE_IO, 0); ASSERT_TRUE(io_thread_.StartWithOptions(options)); ASSERT_EQ(MessageLoop::TYPE_IO, io_thread_.message_loop()->type()); @@ -55,8 +55,8 @@ class StupidWatcher : public MessagePumpLibevent::Watcher { virtual ~StupidWatcher() {} // base:MessagePumpLibevent::Watcher interface - virtual void OnFileCanReadWithoutBlocking(int fd) {} - virtual void OnFileCanWriteWithoutBlocking(int fd) {} + virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE {} + virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE {} }; #if GTEST_HAS_DEATH_TEST && !defined(NDEBUG) @@ -85,10 +85,10 @@ class DeleteWatcher : public MessagePumpLibevent::Watcher { virtual ~DeleteWatcher() {} // base:MessagePumpLibevent::Watcher interface - virtual void OnFileCanReadWithoutBlocking(int /* fd */) { + virtual void OnFileCanReadWithoutBlocking(int /* fd */) OVERRIDE { NOTREACHED(); } - virtual void OnFileCanWriteWithoutBlocking(int /* fd */) { + virtual void OnFileCanWriteWithoutBlocking(int /* fd */) OVERRIDE { delete controller_; } @@ -118,10 +118,10 @@ class StopWatcher : public MessagePumpLibevent::Watcher { virtual ~StopWatcher() {} // base:MessagePumpLibevent::Watcher interface - virtual void OnFileCanReadWithoutBlocking(int /* fd */) { + virtual void OnFileCanReadWithoutBlocking(int /* fd */) OVERRIDE { NOTREACHED(); } - virtual void OnFileCanWriteWithoutBlocking(int /* fd */) { + virtual void OnFileCanWriteWithoutBlocking(int /* fd */) OVERRIDE { controller_->StopWatchingFileDescriptor(); } |