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

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: Feedback from chromium-dev 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
Index: base/threading/watchdog_unittest.cc
diff --git a/base/threading/watchdog_unittest.cc b/base/threading/watchdog_unittest.cc
index 51e49df5d9ea62b6fb8a70924176e3784ebd5abf..c9d8401607fa33d4261ffb5f6b2ad0ec31c35ef6 100644
--- a/base/threading/watchdog_unittest.cc
+++ b/base/threading/watchdog_unittest.cc
@@ -27,7 +27,7 @@ class WatchdogCounter : public Watchdog {
virtual ~WatchdogCounter() {}
- virtual void Alarm() {
+ virtual void Alarm() OVERRIDE {
alarm_counter_++;
Watchdog::Alarm();
}
@@ -42,7 +42,7 @@ class WatchdogCounter : public Watchdog {
class WatchdogTest : public testing::Test {
public:
- void SetUp() {
+ virtual void SetUp() OVERRIDE {
Watchdog::ResetStaticData();
}
};

Powered by Google App Engine
This is Rietveld 408576698