OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/system_monitor/system_monitor.h" | 5 #include "base/system_monitor/system_monitor.h" |
6 | 6 |
7 namespace base { | 7 namespace base { |
8 | 8 |
9 void SystemMonitor::BeginPowerRequirement(PowerRequirement requirement, | |
10 const std::string& reason) { | |
11 if (requirement == CPU_REQUIRED) | |
12 return; | |
13 | |
14 NOTIMPLEMENTED(); | |
15 } | |
16 | |
17 void SystemMonitor::EndPowerRequirement(PowerRequirement requirement, | |
18 const std::string& reason) { | |
19 if (requirement == CPU_REQUIRED) | |
20 return; // Nothing to do. | |
21 | |
22 NOTIMPLEMENTED(); | |
23 } | |
24 | |
25 bool SystemMonitor::IsBatteryPower() { | 9 bool SystemMonitor::IsBatteryPower() { |
26 NOTIMPLEMENTED(); | 10 NOTIMPLEMENTED(); |
27 return false; | 11 return false; |
28 } | 12 } |
29 | 13 |
30 } // namespace base | 14 } // namespace base |
OLD | NEW |