Index: chrome/browser/password_manager/password_store_factory.h |
diff --git a/chrome/browser/password_manager/password_store_factory.h b/chrome/browser/password_manager/password_store_factory.h |
index 631fc7afded03e2820fdf62519c964529afa8779..2207df1e9f8e9b6795ecd4ddd8c5c9023fe5c850 100644 |
--- a/chrome/browser/password_manager/password_store_factory.h |
+++ b/chrome/browser/password_manager/password_store_factory.h |
@@ -24,7 +24,8 @@ typedef int LocalProfileId; |
// Singleton that owns all PasswordStores and associates them with |
// Profiles. Listens for the Profile's destruction notification and cleans up |
// the associated PasswordStore. |
-class PasswordStoreFactory : public RefcountedProfileKeyedServiceFactory { |
+class PasswordStoreFactory |
+ : public RefcountedBrowserContextKeyedServiceFactory { |
public: |
static scoped_refptr<PasswordStore> GetForProfile( |
Profile* profile, Profile::ServiceAccessType set); |
@@ -41,9 +42,9 @@ class PasswordStoreFactory : public RefcountedProfileKeyedServiceFactory { |
LocalProfileId GetLocalProfileId(PrefService* prefs) const; |
#endif |
- // ProfileKeyedServiceFactory: |
- virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor( |
- content::BrowserContext* context) const OVERRIDE; |
+ // BrowserContextKeyedServiceFactory: |
+ virtual scoped_refptr<RefcountedBrowserContextKeyedService> |
+ BuildServiceInstanceFor(content::BrowserContext* context) const OVERRIDE; |
virtual void RegisterUserPrefs( |
user_prefs::PrefRegistrySyncable* registry) OVERRIDE; |
virtual content::BrowserContext* GetBrowserContextToUse( |