Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: chrome/browser/extensions/extension_process_manager.h

Issue 10119003: Pull shell window stuff out of ExtensionHost and put in ShellWindow (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_process_manager.h
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
index adaa7fd1495968fb40f7ea3cfba5d280e728e38d..33f58208f99a7dc6a57554afa3aaab3698df059c 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -44,10 +44,6 @@ class ExtensionProcessManager : public content::NotificationObserver {
return background_hosts_;
}
- const ExtensionHostSet& platform_app_hosts() const {
- return platform_app_hosts_;
- }
-
typedef std::set<content::RenderViewHost*> ViewSet;
const ViewSet GetAllViews() const;
@@ -71,7 +67,6 @@ class ExtensionProcessManager : public content::NotificationObserver {
Browser* browser);
ExtensionHost* CreateInfobarHost(const GURL& url,
Browser* browser);
- ExtensionHost* CreateShellHost(const Extension* extension, const GURL& url);
// Open the extension's options page.
void OpenOptionsPage(const Extension* extension, Browser* browser);
@@ -119,6 +114,9 @@ class ExtensionProcessManager : public content::NotificationObserver {
int IncrementLazyKeepaliveCount(const Extension* extension);
int DecrementLazyKeepaliveCount(const Extension* extension);
+ void IncrementLazyKeepaliveCountForView(
+ content::RenderViewHost* render_view_host);
+
// Handles a response to the ShouldUnload message, used for lazy background
// pages.
void OnShouldUnloadAck(const std::string& extension_id, int sequence_id);
@@ -154,9 +152,6 @@ class ExtensionProcessManager : public content::NotificationObserver {
// The set of ExtensionHosts running viewless background extensions.
ExtensionHostSet background_hosts_;
- // The set of ExtensionHosts running platform apps.
- ExtensionHostSet platform_app_hosts_;
-
// A SiteInstance related to the SiteInstance for all extensions in
// this profile. We create it in such a way that a new
// browsing instance is created. This controls process grouping.
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698