summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message_start.h
diff options
context:
space:
mode:
authortimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 23:40:59 +0000
committertimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 23:40:59 +0000
commit5981d401eebc28c84a14fa94c66120559949c9eb (patch)
tree38f3f83d038249af00d8a9274e66a10475f37724 /ipc/ipc_message_start.h
parent649e4fbc24745cf547875123e02e909200277b32 (diff)
downloadchromium_src-5981d401eebc28c84a14fa94c66120559949c9eb.zip
chromium_src-5981d401eebc28c84a14fa94c66120559949c9eb.tar.gz
chromium_src-5981d401eebc28c84a14fa94c66120559949c9eb.tar.bz2
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
Diffstat (limited to 'ipc/ipc_message_start.h')
-rw-r--r--ipc/ipc_message_start.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_start.h b/ipc/ipc_message_start.h
index 0d8193c..337b1aa 100644
--- a/ipc/ipc_message_start.h
+++ b/ipc/ipc_message_start.h
@@ -103,6 +103,7 @@ enum IPCMessageStart {
TranslateMsgStart,
PushMessagingMsgStart,
GinJavaBridgeMsgStart,
+ BatteryStatusMsgStart,
LastIPCMsgStart // Must come last.
};