From 9c470481ad452e18e937a95d6e62f827a7e8ab0d Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Fri, 27 Mar 2009 21:15:33 +0000 Subject: Add another ifdef for other platforms git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12708 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/child_process_host.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/common') diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc index 6f4f6ef7..b22d751 100644 --- a/chrome/common/child_process_host.cc +++ b/chrome/common/child_process_host.cc @@ -180,7 +180,9 @@ void ChildProcessHost::ListenerHook::OnMessageReceived( void ChildProcessHost::ListenerHook::OnChannelConnected(int32 peer_pid) { host_->opening_channel_ = false; host_->OnChannelConnected(peer_pid); +#if defined(OS_WIN) host_->Send(new PluginProcessMsg_AskBeforeShutdown()); +#endif // Notify in the main loop of the connection. host_->Notify(NotificationType::CHILD_PROCESS_HOST_CONNECTED); -- cgit v1.1