summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_process_manager.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 23:03:15 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 23:03:15 +0000
commitba93a0a13327c878692f388f5e39f64b1f36e564 (patch)
tree208fb5d10c5b9edeff94cf1317b211d66827d42a /chrome/browser/extensions/extension_process_manager.h
parent01a07a1d294281ae21669bade0d5a7a569745d19 (diff)
downloadchromium_src-ba93a0a13327c878692f388f5e39f64b1f36e564.zip
chromium_src-ba93a0a13327c878692f388f5e39f64b1f36e564.tar.gz
chromium_src-ba93a0a13327c878692f388f5e39f64b1f36e564.tar.bz2
Revert 193481 "Simplify ExtensionProcessManager to only load ext..."
> Simplify ExtensionProcessManager to only load extension background pages when a browser window is opened, and skip the other case of also watching for when extension system is initialized. This gets rid of a dependency on browser finder. > > BUG=157279 > Review URL: https://codereview.chromium.org/13811030 TBR=jam@chromium.org BUG=232062 Review URL: https://codereview.chromium.org/13846009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_process_manager.h')
-rw-r--r--chrome/browser/extensions/extension_process_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
index 0b65227..b0416eb 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -195,6 +195,11 @@ class ExtensionProcessManager : public content::NotificationObserver {
// Clears background page data for this extension.
void ClearBackgroundPageData(const std::string& extension_id);
+ // Returns true if loading background pages should be deferred. This is
+ // true if there are no browser windows open and the browser process was
+ // started to show the app launcher.
+ bool DeferLoadingBackgroundHosts() const;
+
// Contains all active extension-related RenderViewHost instances for all
// extensions. We also keep a cache of the host's view type, because that
// information is not accessible at registration/deregistration time.