Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2590)

Unified Diff: base/threading/watchdog_unittest.cc

Issue 10004001: Add virtual and OVERRIDE to base/ implementation files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win Fix -> Missing header Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/threading/thread_unittest.cc ('k') | base/threading/worker_pool_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/watchdog_unittest.cc
diff --git a/base/threading/watchdog_unittest.cc b/base/threading/watchdog_unittest.cc
index 51e49df5d9ea62b6fb8a70924176e3784ebd5abf..0afccd64b02234cecacc8b1922894c15e4aaf8be 100644
--- a/base/threading/watchdog_unittest.cc
+++ b/base/threading/watchdog_unittest.cc
@@ -22,12 +22,13 @@ class WatchdogCounter : public Watchdog {
WatchdogCounter(const TimeDelta& duration,
const std::string& thread_watched_name,
bool enabled)
- : Watchdog(duration, thread_watched_name, enabled), alarm_counter_(0) {
+ : Watchdog(duration, thread_watched_name, enabled),
+ alarm_counter_(0) {
}
virtual ~WatchdogCounter() {}
- virtual void Alarm() {
+ virtual void Alarm() OVERRIDE {
alarm_counter_++;
Watchdog::Alarm();
}
@@ -42,7 +43,7 @@ class WatchdogCounter : public Watchdog {
class WatchdogTest : public testing::Test {
public:
- void SetUp() {
+ virtual void SetUp() OVERRIDE {
Watchdog::ResetStaticData();
}
};
« no previous file with comments | « base/threading/thread_unittest.cc ('k') | base/threading/worker_pool_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698