diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 00:39:46 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 00:39:46 +0000 |
commit | ae5497ff6e21823ba303e34ed4506bc43af29eba (patch) | |
tree | c68decc9e535c738e68e087c95c0dcfa82281b78 /chrome/browser/extensions/extension_process_manager.h | |
parent | a783d0cb601b8f500d4d729a3b667b0e5bac42d9 (diff) | |
download | chromium_src-ae5497ff6e21823ba303e34ed4506bc43af29eba.zip chromium_src-ae5497ff6e21823ba303e34ed4506bc43af29eba.tar.gz chromium_src-ae5497ff6e21823ba303e34ed4506bc43af29eba.tar.bz2 |
Fix a bug where we'd leak ResourceMessageFilters and BrowserRenderProcessHosts
on shutdown when extensions were running.
BUG=15708
BUG=26652
Review URL: http://codereview.chromium.org/355032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_process_manager.h')
-rw-r--r-- | chrome/browser/extensions/extension_process_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h index e154a33..d2d62ef 100644 --- a/chrome/browser/extensions/extension_process_manager.h +++ b/chrome/browser/extensions/extension_process_manager.h @@ -83,6 +83,9 @@ class ExtensionProcessManager : public NotificationObserver { // Called just after |host| is created so it can be registered in our lists. void OnExtensionHostCreated(ExtensionHost* host, bool is_background); + // Called on browser shutdown to close our extension hosts. + void CloseBackgroundHosts(); + NotificationRegistrar registrar_; // The set of all ExtensionHosts managed by this process manager. |