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

Unified Diff: chrome/browser/prerender/prerender_link_manager_factory.h

Issue 13865012: Change GetProfileToUse method from Profile to content::BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile & deps Created 7 years, 8 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 f5ad797be10ac2656d2b8fae934c6a26a9ecc5b0..c09992ae640d93b670500c54c337d403297fcc6e 100644
--- a/chrome/browser/prerender/prerender_link_manager_factory.h
+++ b/chrome/browser/prerender/prerender_link_manager_factory.h
@@ -28,7 +28,8 @@ class PrerenderLinkManagerFactory : public ProfileKeyedServiceFactory {
virtual ProfileKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
- virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE;
+ virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* context) const OVERRIDE;
};
} // namespace prerender

Powered by Google App Engine
This is Rietveld 408576698