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/system_monitor/system_monitor_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/system_monitor/system_monitor_unittest.cc')
-rw-r--r-- | base/system_monitor/system_monitor_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/system_monitor/system_monitor_unittest.cc b/base/system_monitor/system_monitor_unittest.cc index eaed974..4f94ce5 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_++; } |