diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-25 05:24:37 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-25 05:24:37 +0000 |
commit | 9602db41e8152f6dd3f2a27460b7db5a5783087c (patch) | |
tree | 2ca095245c96e6f3b189bc949edae167e30839d6 /extensions/browser/process_manager.h | |
parent | a83a71cab8c73e00a1e12ce23579620a966c107a (diff) | |
download | chromium_src-9602db41e8152f6dd3f2a27460b7db5a5783087c.zip chromium_src-9602db41e8152f6dd3f2a27460b7db5a5783087c.tar.gz chromium_src-9602db41e8152f6dd3f2a27460b7db5a5783087c.tar.bz2 |
Remove chrome::NOTIFICATION_PROFILE_DESTROYED usage from src/extensions
The extensions module should not be listening to Chrome notifications.
Move the observation to ChromeProcessManagerDelegate.
BUG=396083
TEST=browser_tests ProcessManager* and unit_tests ProcessManager*
Review URL: https://codereview.chromium.org/415933003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285482 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/process_manager.h')
-rw-r--r-- | extensions/browser/process_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/browser/process_manager.h b/extensions/browser/process_manager.h index e3c6bcf..a5422bc7 100644 --- a/extensions/browser/process_manager.h +++ b/extensions/browser/process_manager.h @@ -128,6 +128,9 @@ class ProcessManager : public content::NotificationObserver { // loaded. void MaybeCreateStartupBackgroundHosts(); + // Called on shutdown to close our extension hosts. + void CloseBackgroundHosts(); + // Gets the BrowserContext associated with site_instance_ and all other // related SiteInstances. content::BrowserContext* GetBrowserContext() const; @@ -165,9 +168,6 @@ class ProcessManager : public content::NotificationObserver { content::BrowserContext* original_context, ExtensionRegistry* registry); - // Called on browser shutdown to close our extension hosts. - void CloseBackgroundHosts(); - // content::NotificationObserver: virtual void Observe(int type, const content::NotificationSource& source, |