Index: chrome/browser/content_settings/cookie_settings.h |
diff --git a/chrome/browser/content_settings/cookie_settings.h b/chrome/browser/content_settings/cookie_settings.h |
index 9b854342b97e99a852d3b132bcb493d156459457..eec000b1f1cd265626b19a01e7c7b1972277c03e 100644 |
--- a/chrome/browser/content_settings/cookie_settings.h |
+++ b/chrome/browser/content_settings/cookie_settings.h |
@@ -26,7 +26,7 @@ class Profile; |
// A frontend to the cookie settings of |HostContentSettingsMap|. Handles |
// cookie-specific logic such as blocking third-party cookies. Written on the UI |
// thread and read on any thread. One instance per profile. |
-class CookieSettings : public RefcountedProfileKeyedService { |
+class CookieSettings : public RefcountedBrowserContextKeyedService { |
public: |
CookieSettings( |
HostContentSettingsMap* host_content_settings_map, |
@@ -101,7 +101,7 @@ class CookieSettings : public RefcountedProfileKeyedService { |
static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); |
- class Factory : public RefcountedProfileKeyedServiceFactory { |
+ class Factory : public RefcountedBrowserContextKeyedServiceFactory { |
public: |
// Returns the |CookieSettings| associated with the |profile|. |
// |
@@ -116,12 +116,12 @@ class CookieSettings : public RefcountedProfileKeyedService { |
Factory(); |
virtual ~Factory(); |
- // |ProfileKeyedBaseFactory| methods: |
+ // |BrowserContextKeyedBaseFactory| methods: |
virtual void RegisterUserPrefs( |
user_prefs::PrefRegistrySyncable* registry) OVERRIDE; |
virtual content::BrowserContext* GetBrowserContextToUse( |
content::BrowserContext* context) const OVERRIDE; |
- virtual scoped_refptr<RefcountedProfileKeyedService> |
+ virtual scoped_refptr<RefcountedBrowserContextKeyedService> |
BuildServiceInstanceFor( |
content::BrowserContext* context) const OVERRIDE; |
}; |