diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 20:56:05 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 20:56:05 +0000 |
commit | 481e1a439c0cb4272746873c3244f8a42c72c94e (patch) | |
tree | 062e63aab572711337d89817901585dfb176f8ed /chrome/browser/extensions/extensions_service.h | |
parent | da942ea95144401b73956ae64f59157a7fcb23e9 (diff) | |
download | chromium_src-481e1a439c0cb4272746873c3244f8a42c72c94e.zip chromium_src-481e1a439c0cb4272746873c3244f8a42c72c94e.tar.gz chromium_src-481e1a439c0cb4272746873c3244f8a42c72c94e.tar.bz2 |
Resurrect ExtensionProcessManager. Move the code for starting extension
instances from ExtensionsService to the manager.
Unlike ExtensionsService, EPM is not shared between an incognito Profile and
its parent.
Review URL: http://codereview.chromium.org/109044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service.h')
-rw-r--r-- | chrome/browser/extensions/extensions_service.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h index 67c8c4e..9a83c99 100644 --- a/chrome/browser/extensions/extensions_service.h +++ b/chrome/browser/extensions/extensions_service.h @@ -7,7 +7,6 @@ #include <string> #include <vector> -#include <list> #include "base/file_path.h" #include "base/message_loop.h" @@ -16,10 +15,7 @@ #include "base/values.h" class Browser; -class BrowsingInstance; class Extension; -class ExtensionHost; -class ExtensionView; class ExtensionsServiceBackend; class GURL; class Profile; @@ -82,19 +78,6 @@ class ExtensionsService : public ExtensionsServiceFrontendInterface { virtual void OnExtensionInstalled(Extension* extension, bool is_update); virtual Extension* GetExtensionByID(std::string id); - // Creates a new ExtensionView, grouping it in the appropriate SiteInstance - // (and therefore process) based on the URL and profile. - ExtensionView* CreateView(Extension* extension, - const GURL& url, - Browser* browser); - - // Creates a new UI-less extension instance. Like CreateView, but not - // displayed anywhere. - void CreateBackgroundHost(Extension* extension, const GURL& url); - - // Returns the SiteInstance that the given URL belongs to. - SiteInstance* GetSiteInstanceForURL(const GURL& url); - // The name of the file that the current active version number is stored in. static const char* kCurrentVersionFileName; @@ -118,14 +101,6 @@ class ExtensionsService : public ExtensionsServiceFrontendInterface { // The user script master for this profile. scoped_refptr<UserScriptMaster> user_script_master_; - // The BrowsingInstance shared by all extensions in this profile. This - // controls process grouping. - scoped_refptr<BrowsingInstance> browsing_instance_; - - // The list of running viewless background extensions. - typedef std::list<ExtensionHost*> ExtensionHostList; - ExtensionHostList background_hosts_; - DISALLOW_COPY_AND_ASSIGN(ExtensionsService); }; |