diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 00:12:29 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 00:12:29 +0000 |
commit | 4814b51fe8210920ec1ebdde20c8deb9e65a1ff9 (patch) | |
tree | 1849897669aa067acc1751bfd16941872aacd855 /chrome/browser/extensions/extension_process_manager.h | |
parent | cb99b6afc24241e7e42e7e51ab1c51472ce9b43c (diff) | |
download | chromium_src-4814b51fe8210920ec1ebdde20c8deb9e65a1ff9.zip chromium_src-4814b51fe8210920ec1ebdde20c8deb9e65a1ff9.tar.gz chromium_src-4814b51fe8210920ec1ebdde20c8deb9e65a1ff9.tar.bz2 |
Make the inspector for the background page stay open when
reloading an extension.
BUG=25287
TEST=Load an extension that has a background page and reload it. Inspector should stay open and continue
working.
Review URL: http://codereview.chromium.org/371040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31335 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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h index d2d62ef..f399a0b 100644 --- a/chrome/browser/extensions/extension_process_manager.h +++ b/chrome/browser/extensions/extension_process_manager.h @@ -55,6 +55,10 @@ class ExtensionProcessManager : public NotificationObserver { // displayed anywhere. ExtensionHost* CreateBackgroundHost(Extension* extension, const GURL& url); + // Gets the ExtensionHost for the background page for an extension, or NULL if + // the extension isn't running or doesn't have a background page. + ExtensionHost* GetBackgroundHostForExtension(Extension* extension); + // Returns the SiteInstance that the given URL belongs to. SiteInstance* GetSiteInstanceForURL(const GURL& url); |