Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / common / power_monitor_messages.h
blob9b462454c85132c6a44240f1e6cff9fc650717e6
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Multiply-included message file, no include guard.
7 #include "ipc/ipc_message_macros.h"
8 #include "ipc/ipc_param_traits.h"
9 #include "ipc/ipc_platform_file.h"
11 #undef IPC_MESSAGE_EXPORT
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
13 #define IPC_MESSAGE_START PowerMonitorMsgStart
15 // Messages sent from the browser to the renderer/gpu.
17 // Notification of a change in power status of the computer, such
18 // as from switching between battery and A/C power.
19 IPC_MESSAGE_CONTROL1(PowerMonitorMsg_PowerStateChange,
20 bool /* on_battery_power */)
22 // Notification that the system is suspending.
23 IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Suspend)
25 // Notification that the system is resuming.
26 IPC_MESSAGE_CONTROL0(PowerMonitorMsg_Resume)