diff options
author | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 17:12:27 +0000 |
---|---|---|
committer | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 17:12:27 +0000 |
commit | 382a070edf0c8918684e05ef57f8fae34d564ca4 (patch) | |
tree | 18d5bbef9ac29aa456435464a3560f53f0a04eae /chrome/browser/extensions/extension_process_manager.h | |
parent | 056de2d024b7fe311b6ad5924e831e7c44816e68 (diff) | |
download | chromium_src-382a070edf0c8918684e05ef57f8fae34d564ca4.zip chromium_src-382a070edf0c8918684e05ef57f8fae34d564ca4.tar.gz chromium_src-382a070edf0c8918684e05ef57f8fae34d564ca4.tar.bz2 |
Change ExtensionHost to use notifications
rather than direct communication with ExtensionProcessManager.
This simplifies ownership and lifetime issues which allows me to also
revert the change that made ExtensionProcessManager owned by
ExtensionsService.
Review URL: http://codereview.chromium.org/147208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19370 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 | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h index a5c6296..58f6639 100644 --- a/chrome/browser/extensions/extension_process_manager.h +++ b/chrome/browser/extensions/extension_process_manager.h @@ -53,16 +53,6 @@ class ExtensionProcessManager : public NotificationObserver { const_iterator begin() const { return all_hosts_.begin(); } const_iterator end() const { return all_hosts_.end(); } - // Called just before |host| is destroyed so it can be de-registered - // from our lists. - void OnExtensionHostDestroyed(ExtensionHost* host); - - // Called after an extension render process crashes. - void OnExtensionProcessCrashed(ExtensionHost* host); - - // Called after an extension process successfully restarts after crash. - void OnExtensionProcessRestored(ExtensionHost* host); - private: // Called just after |host| is created so it can be registered in our lists. void OnExtensionHostCreated(ExtensionHost* host, bool is_background); |