Chromium Code Reviews| Index: base/power_monitor/power_monitor_device_source_ios.mm |
| diff --git a/base/power_monitor/power_monitor_device_source_ios.mm b/base/power_monitor/power_monitor_device_source_ios.mm |
| index dc12f1c2952007200f227826c7e1ec046646dadd..3e86b2e246c5bed445e87cc374b16f9ce00a5941 100644 |
| --- a/base/power_monitor/power_monitor_device_source_ios.mm |
| +++ b/base/power_monitor/power_monitor_device_source_ios.mm |
| @@ -8,6 +8,11 @@ |
| namespace base { |
| +bool PowerMonitorDeviceSource::IsOnBatteryPowerImpl() { |
|
Nico
2016/09/27 20:19:27
Is this used by anything on iOS? If not, maybe we
DaleCurtis
2016/09/27 20:53:42
ios_chrome_unittests fails to link without this, b
|
| + NOTIMPLEMENTED(); |
| + return false; |
| +} |
| + |
| void PowerMonitorDeviceSource::PlatformInit() { |
| NSNotificationCenter* nc = [NSNotificationCenter defaultCenter]; |
| id foreground = |