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

Unified Diff: chrome/browser/prerender/prerender_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/prerender/prerender_manager_factory.h
diff --git a/chrome/browser/prerender/prerender_manager_factory.h b/chrome/browser/prerender/prerender_manager_factory.h
index 9c6221c5b049f0d3baa597fa8390787eeb95793a..65d4290d350e72e6aa77e5d61d9f605619f7eedf 100644
--- a/chrome/browser/prerender/prerender_manager_factory.h
+++ b/chrome/browser/prerender/prerender_manager_factory.h
@@ -18,7 +18,7 @@ class PrerenderManager;
// Singleton that owns all PrerenderManagers and associates them with Profiles.
// Listens for the Profile's destruction notification and cleans up the
// associated PrerenderManager.
-class PrerenderManagerFactory : public ProfileKeyedServiceFactory {
+class PrerenderManagerFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the PrerenderManager for |profile|.
static PrerenderManager* GetForProfile(Profile* profile);
@@ -31,8 +31,8 @@ class PrerenderManagerFactory : public ProfileKeyedServiceFactory {
PrerenderManagerFactory();
virtual ~PrerenderManagerFactory();
- // 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