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

Unified Diff: chrome/browser/profile.h

Issue 660349: First cut at custom user style sheets. (Closed)
Patch Set: compile Created 10 years, 9 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/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.h
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index eaa05b661dfd5f08a179ddd799557f3b8efa031b..578771625ae1cbb158a8f75ca9c0d4fd1f55b98b 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -66,6 +66,7 @@ class ThemeProvider;
class ThumbnailStore;
class URLRequestContextGetter;
class UserScriptMaster;
+class UserStyleSheetWatcher;
class VisitedLinkMaster;
class VisitedLinkEventListener;
class WebDataService;
@@ -299,6 +300,9 @@ class Profile {
// Returns the Privacy Blacklist for this profile.
virtual Blacklist* GetPrivacyBlacklist() = 0;
+ // Returns the user style sheet watcher.
+ virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0;
+
// Returns the session service for this profile. This may return NULL. If
// this profile supports a session service (it isn't off the record), and
// the session service hasn't yet been created, this forces creation of
@@ -467,6 +471,7 @@ class ProfileImpl : public Profile,
virtual HostContentSettingsMap* GetHostContentSettingsMap();
virtual HostZoomMap* GetHostZoomMap();
virtual Blacklist* GetPrivacyBlacklist();
+ virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
virtual SessionService* GetSessionService();
virtual void ShutdownSessionService();
virtual bool HasSessionService() const;
@@ -553,6 +558,7 @@ class ProfileImpl : public Profile,
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
scoped_refptr<HostZoomMap> host_zoom_map_;
scoped_refptr<Blacklist> privacy_blacklist_;
+ scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
scoped_refptr<DownloadManager> download_manager_;
scoped_refptr<HistoryService> history_service_;
scoped_refptr<FaviconService> favicon_service_;
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698