diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 23:51:49 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 23:51:49 +0000 |
commit | ff47b296ef2047749c395220971e516ffa52a163 (patch) | |
tree | 5b22f9b6dab2c82b1050a3522b5c8ee7728b5f30 /content/common/child_process_messages.h | |
parent | cd75a5001fe541b418a0f46efd8c25201a4015e2 (diff) | |
download | chromium_src-ff47b296ef2047749c395220971e516ffa52a163.zip chromium_src-ff47b296ef2047749c395220971e516ffa52a163.tar.gz chromium_src-ff47b296ef2047749c395220971e516ffa52a163.tar.bz2 |
Move the common child process messages into their own file.
TBR=nduca
Review URL: http://codereview.chromium.org/6625064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r-- | content/common/child_process_messages.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h new file mode 100644 index 0000000..ce02ec9 --- /dev/null +++ b/content/common/child_process_messages.h @@ -0,0 +1,29 @@ +// Copyright (c) 2011 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. + +// Common IPC messages used for child processes. +// Multiply-included message file, hence no include guard. + +#include "ipc/ipc_message_macros.h" + +#define IPC_MESSAGE_START ChildProcessMsgStart + +// Messages sent from the browser to the child process. + +// Tells the child process it should stop. +IPC_MESSAGE_CONTROL0(ChildProcessMsg_AskBeforeShutdown) + +// Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child +// process that it's safe to shutdown. +IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown) + +#if defined(IPC_MESSAGE_LOG_ENABLED) +// Tell the child process to begin or end IPC message logging. +IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, + bool /* on or off */) +#endif + +// Messages sent from the child process to the browser. + +IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) |