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

Unified Diff: device/battery/battery_status_service.h

Issue 833983002: Stop using [Client=...] feature of Mojom for BatteryMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 11 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: device/battery/battery_status_service.h
diff --git a/device/battery/battery_status_service.h b/device/battery/battery_status_service.h
index fd52b6b439f3e2b7f9a5589f36ab7343b34fb0d2..a4cfac7dd078b69c057a7c46951555f4600e95db 100644
--- a/device/battery/battery_status_service.h
+++ b/device/battery/battery_status_service.h
@@ -30,6 +30,7 @@ class DEVICE_BATTERY_EXPORT BatteryStatusService {
// Adds a callback to receive battery status updates. Must be called on the
// main thread. The callback itself will be called on the main thread as well.
+ // NOTE: The callback may be run before AddCallback returns!
scoped_ptr<BatteryUpdateSubscription> AddCallback(
const BatteryUpdateCallback& callback);
« device/battery/battery_monitor_impl.h ('K') | « device/battery/battery_monitor_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698