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

Unified Diff: chrome/browser/user_style_sheet_watcher_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 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
Index: chrome/browser/user_style_sheet_watcher_factory.h
diff --git a/chrome/browser/user_style_sheet_watcher_factory.h b/chrome/browser/user_style_sheet_watcher_factory.h
index e3e744a16ad15577377e6811a5c035ccc226517c..3b0bda75c8fc8c7ee08a602b608145123ecd1450 100644
--- a/chrome/browser/user_style_sheet_watcher_factory.h
+++ b/chrome/browser/user_style_sheet_watcher_factory.h
@@ -14,7 +14,7 @@ class UserStyleSheetWatcher;
// Singleton that owns all UserStyleSheetWatcher and associates them with
// Profiles.
class UserStyleSheetWatcherFactory
- : public RefcountedProfileKeyedServiceFactory {
+ : public RefcountedBrowserContextKeyedServiceFactory {
public:
static scoped_refptr<UserStyleSheetWatcher> GetForProfile(Profile* profile);
@@ -26,9 +26,9 @@ class UserStyleSheetWatcherFactory
UserStyleSheetWatcherFactory();
virtual ~UserStyleSheetWatcherFactory();
- // ProfileKeyedServiceFactory:
- virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor(
- content::BrowserContext* context) const OVERRIDE;
+ // BrowserContextKeyedServiceFactory:
+ virtual scoped_refptr<RefcountedBrowserContextKeyedService>
+ BuildServiceInstanceFor(content::BrowserContext* context) const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698