Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: content/common/child_process_messages.h

Issue 6625064: Move the common child process messages into their own file. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_messages.h
===================================================================
--- content/common/child_process_messages.h (revision 0)
+++ content/common/child_process_messages.h (revision 0)
@@ -0,0 +1,30 @@
+// 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.
+// Like above, this is used by all ChildProcesses.
+IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,
+ bool /* on or off */)
+#endif
+
+// Messages sent from the child process to the browser.
+
+IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
Property changes on: content\common\child_process_messages.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698