summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_host.h
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 21:39:48 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 21:39:48 +0000
commitb3fbacff42e270eff403fc6d8d6692dd8752c34f (patch)
tree1231fc41923441f60ee3d9164d2a17a29dc3c57d /chrome/browser/child_process_host.h
parenta2630c16a3f0ad2e2df0779ba6f474bc5317d14b (diff)
downloadchromium_src-b3fbacff42e270eff403fc6d8d6692dd8752c34f.zip
chromium_src-b3fbacff42e270eff403fc6d8d6692dd8752c34f.tar.gz
chromium_src-b3fbacff42e270eff403fc6d8d6692dd8752c34f.tar.bz2
Reenable PluginLoadUnload after fixing a race condition that made it fail in
Release mode. The problem was that we would attempt to restart the plugin process as it was shutting down. BUG=40588 Review URL: http://codereview.chromium.org/1585021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/child_process_host.h')
-rw-r--r--chrome/browser/child_process_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/child_process_host.h b/chrome/browser/child_process_host.h
index c7c27be..e735940 100644
--- a/chrome/browser/child_process_host.h
+++ b/chrome/browser/child_process_host.h
@@ -96,6 +96,10 @@ class ChildProcessHost : public ResourceDispatcherHost::Receiver,
// Derived classes return true if it's ok to shut down the child process.
virtual bool CanShutdown() = 0;
+ // Send the shutdown message to the child process, and remove this host from
+ // the host list. Does not check if CanShutdown is true.
+ void ForceShutdown();
+
// Creates the IPC channel. Returns true iff it succeeded.
bool CreateChannel();