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

Unified Diff: chrome/browser/signin/signin_manager_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/signin/signin_manager_factory.h
diff --git a/chrome/browser/signin/signin_manager_factory.h b/chrome/browser/signin/signin_manager_factory.h
index c1523cccc7649552ad282df6aec54da2867fd61a..828ecb980e056108351f4daf693389656cebc4c0 100644
--- a/chrome/browser/signin/signin_manager_factory.h
+++ b/chrome/browser/signin/signin_manager_factory.h
@@ -16,7 +16,7 @@ class Profile;
// Singleton that owns all SigninManagers and associates them with
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated SigninManager.
-class SigninManagerFactory : public ProfileKeyedServiceFactory {
+class SigninManagerFactory : public BrowserContextKeyedServiceFactory {
public:
#if defined(OS_CHROMEOS)
@@ -39,7 +39,8 @@ class SigninManagerFactory : public ProfileKeyedServiceFactory {
// Returns an instance of the SigninManagerFactory singleton.
static SigninManagerFactory* GetInstance();
- // Implementation of ProfileKeyedServiceFactory (public so tests can call it).
+ // Implementation of BrowserContextKeyedServiceFactory (public so tests
+ // can call it).
virtual void RegisterUserPrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
@@ -52,8 +53,8 @@ class SigninManagerFactory : public ProfileKeyedServiceFactory {
SigninManagerFactory();
virtual ~SigninManagerFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698