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/profile.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/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h index 236d5cf..2a96277 100644 --- a/chrome/browser/profile.h +++ b/chrome/browser/profile.h @@ -22,6 +22,7 @@ class BookmarkModel; class ChromeURLRequestContext; class DownloadManager; +class ExtensionProcessManager; class ExtensionsService; class HistoryService; class NavigationController; @@ -114,6 +115,10 @@ class Profile { // that this method is called. virtual UserScriptMaster* GetUserScriptMaster() = 0; + // Retrieves a pointer to the ExtensionProcessManager associated with this + // profile. The instance is created at startup. + virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; + // Retrieves a pointer to the SSLHostState associated with this profile. // The SSLHostState is lazily created the first time that this method is // called. @@ -277,6 +282,7 @@ class ProfileImpl : public Profile, virtual UserScriptMaster* GetUserScriptMaster(); virtual SSLHostState* GetSSLHostState(); virtual ExtensionsService* GetExtensionsService(); + virtual ExtensionProcessManager* GetExtensionProcessManager(); virtual HistoryService* GetHistoryService(ServiceAccessType sat); virtual WebDataService* GetWebDataService(ServiceAccessType sat); virtual PrefService* GetPrefs(); @@ -335,10 +341,10 @@ class ProfileImpl : public Profile, void InitializeSpellChecker(bool need_to_broadcast); FilePath path_; - bool off_the_record_; scoped_ptr<VisitedLinkMaster> visited_link_master_; scoped_refptr<ExtensionsService> extensions_service_; scoped_refptr<UserScriptMaster> user_script_master_; + scoped_ptr<ExtensionProcessManager> extension_process_manager_; scoped_ptr<SSLHostState> ssl_host_state_; scoped_ptr<PrefService> prefs_; scoped_ptr<TemplateURLFetcher> template_url_fetcher_; |