| Index: base/mp/mp_messages_internal.h
|
| ===================================================================
|
| --- base/mp/mp_messages_internal.h (revision 0)
|
| +++ base/mp/mp_messages_internal.h (revision 0)
|
| @@ -0,0 +1,35 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "base/shared_memory.h"
|
| +#include "build/build_config.h"
|
| +#include "ipc/ipc_message_macros.h"
|
| +
|
| +//-----------------------------------------------------------------------------
|
| +// MultiProcess messages
|
| +// These are messages sent from the host to the child process.
|
| +IPC_BEGIN_MESSAGES(MultiProcess)
|
| + // Tells the child process it should stop.
|
| + IPC_MESSAGE_CONTROL0(MultiProcessMsg_AskBeforeShutdown)
|
| +
|
| + // Sent in response to PluginProcessHostMsg_ShutdownRequest to tell the child
|
| + // process that it's safe to shutdown.
|
| + IPC_MESSAGE_CONTROL0(MultiProcessMsg_Shutdown)
|
| +
|
| +#if defined(IPC_MESSAGE_LOG_ENABLED)
|
| + // Tell the child process to begin or end IPC message logging.
|
| + // Like above, this is used by all ChildProcesses.
|
| + IPC_MESSAGE_CONTROL1(MultiProcessMsg_SetIPCLoggingEnabled,
|
| + bool /* on or off */)
|
| +#endif
|
| +
|
| +IPC_END_MESSAGES(MultiProcess)
|
| +
|
| +//-----------------------------------------------------------------------------
|
| +// MultiProcessHost messages
|
| +// These are messages sent from the child process to the host process.
|
| +IPC_BEGIN_MESSAGES(MultiProcessHost)
|
| + IPC_MESSAGE_CONTROL0(MultiProcessHostMsg_ShutdownRequest)
|
| +
|
| +IPC_END_MESSAGES(MultiProcessHost)
|
|
|