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

Unified Diff: chrome/common/child_process_host.cc

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/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/common/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_host.cc
===================================================================
--- chrome/common/child_process_host.cc (revision 77193)
+++ chrome/common/child_process_host.cc (working copy)
@@ -12,7 +12,7 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_paths_internal.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/plugin_messages.h"
+#include "content/common/child_process_messages.h"
#include "ipc/ipc_logging.h"
#if defined(OS_LINUX)
@@ -129,10 +129,10 @@
// Make sure these messages get sent first.
#if defined(IPC_MESSAGE_LOG_ENABLED)
bool enabled = IPC::Logging::GetInstance()->Enabled();
- Send(new PluginProcessMsg_SetIPCLoggingEnabled(enabled));
+ Send(new ChildProcessMsg_SetIPCLoggingEnabled(enabled));
#endif
- Send(new PluginProcessMsg_AskBeforeShutdown());
+ Send(new ChildProcessMsg_AskBeforeShutdown());
opening_channel_ = true;
@@ -196,9 +196,9 @@
}
}
- if (!handled && msg.type() == PluginProcessHostMsg_ShutdownRequest::ID) {
+ if (!handled && msg.type() == ChildProcessHostMsg_ShutdownRequest::ID) {
if (host_->CanShutdown())
- host_->Send(new PluginProcessMsg_Shutdown());
+ host_->Send(new ChildProcessMsg_Shutdown());
handled = true;
}
@@ -234,5 +234,5 @@
}
void ChildProcessHost::ForceShutdown() {
- Send(new PluginProcessMsg_Shutdown());
+ Send(new ChildProcessMsg_Shutdown());
}
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/common/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698