diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 21:15:33 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 21:15:33 +0000 |
commit | 9c470481ad452e18e937a95d6e62f827a7e8ab0d (patch) | |
tree | cb3761df4ced59f4477c94582f82030e409d061b /chrome/common/child_process_host.cc | |
parent | d4f3d112edb3063f60e254ce2581d6d187f871f1 (diff) | |
download | chromium_src-9c470481ad452e18e937a95d6e62f827a7e8ab0d.zip chromium_src-9c470481ad452e18e937a95d6e62f827a7e8ab0d.tar.gz chromium_src-9c470481ad452e18e937a95d6e62f827a7e8ab0d.tar.bz2 |
Add another ifdef for other platforms
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_host.cc')
-rw-r--r-- | chrome/common/child_process_host.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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); |