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

Unified Diff: chrome/browser/prerender/prerender_link_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_link_manager_factory.h
diff --git a/chrome/browser/prerender/prerender_link_manager_factory.h b/chrome/browser/prerender/prerender_link_manager_factory.h
index 735ca000f13dd38fd62ed0a7577de4e4c44347c1..3223c22641883b6a4fd457588ee94c14068c08ca 100644
--- a/chrome/browser/prerender/prerender_link_manager_factory.h
+++ b/chrome/browser/prerender/prerender_link_manager_factory.h
@@ -15,7 +15,7 @@ namespace prerender {
class PrerenderLinkManager;
-class PrerenderLinkManagerFactory : public ProfileKeyedServiceFactory {
+class PrerenderLinkManagerFactory : public BrowserContextKeyedServiceFactory {
public:
static PrerenderLinkManager* GetForProfile(Profile* profile);
static PrerenderLinkManagerFactory* GetInstance();
@@ -26,7 +26,7 @@ class PrerenderLinkManagerFactory : public ProfileKeyedServiceFactory {
PrerenderLinkManagerFactory();
virtual ~PrerenderLinkManagerFactory() { }
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ 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