OLD | NEW |
---|---|
1 // Copyright (c) 2011 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/power_monitor/power_monitor.h" |
6 | 6 |
7 namespace base { | 7 namespace base { |
8 | 8 |
9 bool SystemMonitor::IsBatteryPower() { | 9 #if !defined(OS_MACOSX) && !defined(OS_IOS) |
vandebo (ex-Chrome)
2012/11/01 16:50:26
I think OS_MACOSX is defined when OS_IOS is define
| |
10 void PowerMonitor::PlatformInit() { | |
11 } | |
12 | |
13 void PowerMonitor::PlatformDestroy() { | |
14 } | |
15 #endif | |
16 | |
17 bool PowerMonitor::IsBatteryPower() { | |
10 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
11 return false; | 19 return false; |
12 } | 20 } |
13 | 21 |
14 } // namespace base | 22 } // namespace base |
OLD | NEW |