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 d3a99fb15844bbdf70c923f5a928ab8188aee69d..5b30a9e34ff08cbe331842be4bb00606f18c4285 100644 |
--- a/base/system_monitor/system_monitor_unittest.cc |
+++ b/base/system_monitor/system_monitor_unittest.cc |
@@ -18,8 +18,7 @@ namespace { |
class PowerTest : public SystemMonitor::PowerObserver { |
public: |
PowerTest() |
- : battery_(false), |
- power_state_changes_(0), |
+ : power_state_changes_(0), |
suspends_(0), |
resumes_(0) { |
} |
@@ -38,13 +37,11 @@ class PowerTest : public SystemMonitor::PowerObserver { |
} |
// Test status counts. |
- bool battery() { return battery_; } |
int power_state_changes() { return power_state_changes_; } |
int suspends() { return suspends_; } |
int resumes() { return resumes_; } |
private: |
- bool battery_; // Do we currently think we're on battery power. |
int power_state_changes_; // Count of OnPowerStateChange notifications. |
int suspends_; // Count of OnSuspend notifications. |
int resumes_; // Count of OnResume notifications. |