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

Unified Diff: chrome/browser/captive_portal/captive_portal_service_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/captive_portal/captive_portal_service_factory.h
diff --git a/chrome/browser/captive_portal/captive_portal_service_factory.h b/chrome/browser/captive_portal/captive_portal_service_factory.h
index 4838d3dd68f401e9636738dc778c566413f9c37b..8a60bfe734e245cbbb51762c25a649f24a63ba3d 100644
--- a/chrome/browser/captive_portal/captive_portal_service_factory.h
+++ b/chrome/browser/captive_portal/captive_portal_service_factory.h
@@ -20,7 +20,7 @@ class CaptivePortalService;
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated CaptivePortalService. Incognito profiles have their own
// CaptivePortalService.
-class CaptivePortalServiceFactory : public ProfileKeyedServiceFactory {
+class CaptivePortalServiceFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the CaptivePortalService for |profile|.
static CaptivePortalService* GetForProfile(Profile* profile);
@@ -35,8 +35,8 @@ class CaptivePortalServiceFactory : public ProfileKeyedServiceFactory {
CaptivePortalServiceFactory();
virtual ~CaptivePortalServiceFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698