OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 #include "base/shared_memory.h" |
| 6 #include "build/build_config.h" |
| 7 #include "ipc/ipc_message_macros.h" |
| 8 |
| 9 //----------------------------------------------------------------------------- |
| 10 // MultiProcess messages |
| 11 // These are messages sent from the host to the child process. |
| 12 IPC_BEGIN_MESSAGES(MultiProcess) |
| 13 // Tells the child process it should stop. |
| 14 IPC_MESSAGE_CONTROL0(MultiProcessMsg_AskBeforeShutdown) |
| 15 |
| 16 // Sent in response to PluginProcessHostMsg_ShutdownRequest to tell the child |
| 17 // process that it's safe to shutdown. |
| 18 IPC_MESSAGE_CONTROL0(MultiProcessMsg_Shutdown) |
| 19 |
| 20 #if defined(IPC_MESSAGE_LOG_ENABLED) |
| 21 // Tell the child process to begin or end IPC message logging. |
| 22 // Like above, this is used by all ChildProcesses. |
| 23 IPC_MESSAGE_CONTROL1(MultiProcessMsg_SetIPCLoggingEnabled, |
| 24 bool /* on or off */) |
| 25 #endif |
| 26 |
| 27 IPC_END_MESSAGES(MultiProcess) |
| 28 |
| 29 //----------------------------------------------------------------------------- |
| 30 // MultiProcessHost messages |
| 31 // These are messages sent from the child process to the host process. |
| 32 IPC_BEGIN_MESSAGES(MultiProcessHost) |
| 33 IPC_MESSAGE_CONTROL0(MultiProcessHostMsg_ShutdownRequest) |
| 34 |
| 35 IPC_END_MESSAGES(MultiProcessHost) |
OLD | NEW |