| 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 e18901bcbc251e46aae789c29ac089157996ede0..faadb87d2d6dd05b517b85d625463a0cbd606f2d 100644
|
| --- a/chrome/browser/password_manager/password_store_factory.h
|
| +++ b/chrome/browser/password_manager/password_store_factory.h
|
| @@ -27,8 +27,8 @@ typedef int LocalProfileId;
|
| // the associated PasswordStore.
|
| class PasswordStoreFactory : public RefcountedProfileKeyedServiceFactory {
|
| public:
|
| - static PasswordStore* GetForProfile(Profile* profile,
|
| - Profile::ServiceAccessType set);
|
| + static scoped_refptr<PasswordStore> GetForProfile(
|
| + Profile* profile, Profile::ServiceAccessType set);
|
|
|
| static PasswordStoreFactory* GetInstance();
|
|
|
| @@ -43,7 +43,7 @@ class PasswordStoreFactory : public RefcountedProfileKeyedServiceFactory {
|
| #endif
|
|
|
| // ProfileKeyedServiceFactory:
|
| - virtual RefcountedProfileKeyedService* BuildServiceInstanceFor(
|
| + virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor(
|
| Profile* profile) const OVERRIDE;
|
| virtual void RegisterUserPrefs(PrefService* prefs) OVERRIDE;
|
| virtual bool ServiceRedirectedInIncognito() OVERRIDE;
|
|
|