diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-25 00:19:40 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-25 00:19:40 +0000 |
commit | 9e3df998ca7b1b1ea6d0d403d93b834bf847eb89 (patch) | |
tree | 1a492352381007493b0a28c47a1ce8878eb0dbae /content/browser/browser_child_process_host.h | |
parent | e7a811df79d970d7ccf17f5b8ae1980c57694521 (diff) | |
download | chromium_src-9e3df998ca7b1b1ea6d0d403d93b834bf847eb89.zip chromium_src-9e3df998ca7b1b1ea6d0d403d93b834bf847eb89.tar.gz chromium_src-9e3df998ca7b1b1ea6d0d403d93b834bf847eb89.tar.bz2 |
Revert 86517 - Don't terminate plugin processes from the browser during browser shutdown. This is to allow the plugins to
shutdown gracefully, i.e. NP_Shutdown gets called. To ensure that we handle the case of a hung plugin, we handle
the OnChannelError notification in the IPC message filter implementation in the plugin process and post a delayed
task to kill the process.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=48178
BUG=48178
Review URL: http://codereview.chromium.org/6992006
TBR=ananta@chromium.org
Review URL: http://codereview.chromium.org/7065048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_child_process_host.h')
-rw-r--r-- | content/browser/browser_child_process_host.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/content/browser/browser_child_process_host.h b/content/browser/browser_child_process_host.h index 61e7981..07bc44d 100644 --- a/content/browser/browser_child_process_host.h +++ b/content/browser/browser_child_process_host.h @@ -92,10 +92,6 @@ class BrowserChildProcessHost : public ChildProcessHost, // the host list. Calls ChildProcessHost::ForceShutdown virtual void ForceShutdown(); - // Controls whether the child process should be terminated on browser - // shutdown. Default is to always terminate. - void SetTerminateChildOnShutdown(bool terminate_on_shutdown); - private: // By using an internal class as the ChildProcessLauncher::Client, we can // intercept OnProcessLaunched and do our own processing before |