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

Unified Diff: base/mp/mp_messages_internal.h

Issue 1625015: Refactor ChildProcess and related classes to create a framework outside of br... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 8 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 | « base/mp/mp_messages.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « base/mp/mp_messages.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698