| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/power_monitor/power_monitor_test_base.h" | 5 #include "base/test/power_monitor_test_base.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
| 8 #include "base/power_monitor/power_monitor.h" | 8 #include "base/power_monitor/power_monitor.h" |
| 9 #include "base/power_monitor/power_monitor_source.h" | 9 #include "base/power_monitor/power_monitor_source.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 | 12 |
| 13 PowerMonitorTestSource::PowerMonitorTestSource() | 13 PowerMonitorTestSource::PowerMonitorTestSource() |
| 14 : test_on_battery_power_(false) { | 14 : test_on_battery_power_(false) { |
| 15 } | 15 } |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 void PowerMonitorTestObserver::OnSuspend() { | 56 void PowerMonitorTestObserver::OnSuspend() { |
| 57 suspends_++; | 57 suspends_++; |
| 58 } | 58 } |
| 59 | 59 |
| 60 void PowerMonitorTestObserver::OnResume() { | 60 void PowerMonitorTestObserver::OnResume() { |
| 61 resumes_++; | 61 resumes_++; |
| 62 } | 62 } |
| 63 | 63 |
| 64 } // namespace base | 64 } // namespace base |
| OLD | NEW |