Add Battery Status API support in content/renderer and IPC messages.

This patch defines the async IPCs needed for the Battery Status API.
It also implements the platform-side part with a
setBatteryStatusListener() method and a dispatcher class for
propagating messages to blink. Unit tests for the dispatcher
class are also included.

BUG=122593,360068

Review URL: https://codereview.chromium.org/252113006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270504 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 5981d401eebc28c84a14fa94c66120559949c9eb
1 file changed
tree: c9ef9a6d9a30996e1672389fc1af76c3300d6ae8
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/