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

Unified Diff: base/system_monitor/system_monitor_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/synchronization/waitable_event_watcher_unittest.cc ('k') | base/test/test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/system_monitor/system_monitor_unittest.cc
diff --git a/base/system_monitor/system_monitor_unittest.cc b/base/system_monitor/system_monitor_unittest.cc
index eaed974c1107daa6ecde40a16fe4c103e5eca2c9..4f94ce5ef380368df30657d562b25182025df11e 100644
--- a/base/system_monitor/system_monitor_unittest.cc
+++ b/base/system_monitor/system_monitor_unittest.cc
@@ -20,15 +20,15 @@ class PowerTest : public SystemMonitor::PowerObserver {
}
// PowerObserver callbacks.
- void OnPowerStateChange(bool on_battery_power) {
+ virtual void OnPowerStateChange(bool on_battery_power) OVERRIDE {
power_state_changes_++;
}
- void OnSuspend() {
+ virtual void OnSuspend() OVERRIDE {
suspends_++;
}
- void OnResume() {
+ virtual void OnResume() OVERRIDE {
resumes_++;
}
« no previous file with comments | « base/synchronization/waitable_event_watcher_unittest.cc ('k') | base/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698