DescriptionBattery listener for download service in native code.
We need to listen to battery change when Chrome is running.
This class decouples the battery listening details from download
service. Any underlying implementation change can be limited inside
this class.
In the future we may use device service to retrieve battery level,
right now it seems only content can embbed the device service.
BUG=717180
Review-Url: https://codereview.chromium.org/2867073004
Cr-Commit-Position: refs/heads/master@{#470676}
Committed: https://chromium.googlesource.com/chromium/src/+/6aa839b75ec10cf23591c1dfc2f9b4b910102a8c
Patch Set 1 #Patch Set 2 : Polish comments. #
Total comments: 12
Patch Set 3 : Work on feedbacks. #
Messages
Total messages: 21 (15 generated)
|