Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4303)

Unified Diff: base/power_monitor/power_monitor_device_source_ios.mm

Issue 2379133002: Merge M54: "Implement base::PowerMonitor::IsOnBatteryPower() for OSX." (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
void PowerMonitorDeviceSource::PlatformInit() {
NSNotificationCenter* nc = [NSNotificationCenter defaultCenter];
id foreground =
« no previous file with comments | « base/power_monitor/power_monitor_device_source_android.cc ('k') | base/power_monitor/power_monitor_device_source_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698