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

Unified Diff: chrome/browser/profile.h

Issue 12876: Introduce ExtensionsService. Load extensions on startup from a directory in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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
Index: chrome/browser/profile.h
===================================================================
--- chrome/browser/profile.h (revision 6350)
+++ chrome/browser/profile.h (working copy)
@@ -24,6 +24,7 @@
class BookmarkModel;
class DownloadManager;
+class ExtensionsService;
class GreasemonkeyMaster;
class HistoryService;
class NavigationController;
@@ -102,6 +103,10 @@
// that this method is called.
virtual VisitedLinkMaster* GetVisitedLinkMaster() = 0;
+ // Retrieves a pointer to the ExtensionsService associated with this
+ // profile. The ExtensionsService is created at startup.
+ virtual ExtensionsService* GetExtensionsService() = 0;
+
// Retrieves a pointer to the GreasemonkeyMaster associated with this
// profile. The GreasemonkeyMaster is lazily created the first time
// that this method is called.
@@ -243,6 +248,7 @@
virtual Profile* GetOriginalProfile();
virtual VisitedLinkMaster* GetVisitedLinkMaster();
virtual GreasemonkeyMaster* GetGreasemonkeyMaster();
+ virtual ExtensionsService* GetExtensionsService();
virtual HistoryService* GetHistoryService(ServiceAccessType sat);
virtual WebDataService* GetWebDataService(ServiceAccessType sat);
virtual PrefService* GetPrefs();
@@ -303,6 +309,7 @@
std::wstring path_;
bool off_the_record_;
scoped_ptr<VisitedLinkMaster> visited_link_master_;
+ scoped_refptr<ExtensionsService> extensions_service_;
scoped_refptr<GreasemonkeyMaster> greasemonkey_master_;
scoped_ptr<PrefService> prefs_;
scoped_ptr<TemplateURLFetcher> template_url_fetcher_;

Powered by Google App Engine
This is Rietveld 408576698