summaryrefslogtreecommitdiffstats
path: root/base/synchronization/waitable_event_unittest.cc
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-06 03:53:02 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-06 03:53:02 +0000
commit441061813c0a5c13392fa1ceff763639cccf3233 (patch)
tree7e4b83ec66c53ac08f22725ec1b2ca6d632213f6 /base/synchronization/waitable_event_unittest.cc
parentf493d9f1ce7f520fbbe4fbe4bce282242941783c (diff)
downloadchromium_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/synchronization/waitable_event_unittest.cc')
-rw-r--r--base/synchronization/waitable_event_unittest.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/base/synchronization/waitable_event_unittest.cc b/base/synchronization/waitable_event_unittest.cc
index f253265..d00adc7 100644
--- a/base/synchronization/waitable_event_unittest.cc
+++ b/base/synchronization/waitable_event_unittest.cc
@@ -1,9 +1,11 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
-#include "base/time.h"
#include "base/synchronization/waitable_event.h"
+
+#include "base/compiler_specific.h"
+#include "base/time.h"
#include "base/threading/platform_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -76,7 +78,7 @@ class WaitableEventSignaler : public PlatformThread::Delegate {
ev_(ev) {
}
- void ThreadMain() {
+ virtual void ThreadMain() OVERRIDE {
PlatformThread::Sleep(TimeDelta::FromSeconds(static_cast<int>(seconds_)));
ev_->Signal();
}