OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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. |
| 4 |
| 5 // Common IPC messages used for child processes. |
| 6 // Multiply-included message file, hence no include guard. |
| 7 |
| 8 #include "ipc/ipc_message_macros.h" |
| 9 |
| 10 #define IPC_MESSAGE_START ChildProcessMsgStart |
| 11 |
| 12 // Messages sent from the browser to the child process. |
| 13 |
| 14 // Tells the child process it should stop. |
| 15 IPC_MESSAGE_CONTROL0(ChildProcessMsg_AskBeforeShutdown) |
| 16 |
| 17 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child |
| 18 // process that it's safe to shutdown. |
| 19 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown) |
| 20 |
| 21 #if defined(IPC_MESSAGE_LOG_ENABLED) |
| 22 // Tell the child process to begin or end IPC message logging. |
| 23 // Like above, this is used by all ChildProcesses. |
| 24 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, |
| 25 bool /* on or off */) |
| 26 #endif |
| 27 |
| 28 // Messages sent from the child process to the browser. |
| 29 |
| 30 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) |
OLD | NEW |