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

Unified Diff: chrome/browser/signin/about_signin_internals_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/about_signin_internals_factory.h
diff --git a/chrome/browser/signin/about_signin_internals_factory.h b/chrome/browser/signin/about_signin_internals_factory.h
index 9414dc83a505a5ca22da3d1145c65140f02f7a32..c362aacf849c18bf48c3ed018e3b9c295a1306c7 100644
--- a/chrome/browser/signin/about_signin_internals_factory.h
+++ b/chrome/browser/signin/about_signin_internals_factory.h
@@ -13,7 +13,7 @@ class Profile;
// Singleton that owns all AboutSigninInternals and associates them with
// Profiles.
-class AboutSigninInternalsFactory : public ProfileKeyedServiceFactory {
+class AboutSigninInternalsFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the instance of AboutSigninInternals associated with this profile,
// creating one if none exists.
@@ -22,7 +22,7 @@ class AboutSigninInternalsFactory : public ProfileKeyedServiceFactory {
// Returns an instance of the AboutSigninInternalsFactory singleton.
static AboutSigninInternalsFactory* GetInstance();
- // Implementation of ProfileKeyedServiceFactory.
+ // Implementation of BrowserContextKeyedServiceFactory.
virtual void RegisterUserPrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
@@ -32,8 +32,8 @@ class AboutSigninInternalsFactory : public ProfileKeyedServiceFactory {
AboutSigninInternalsFactory();
virtual ~AboutSigninInternalsFactory();
- // ProfileKeyedServiceFactory
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698