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

Unified Diff: chrome/browser/prerender/prerender_manager_factory.cc

Issue 2321083002: [NoStatePrefetch] Add performance histograms. (Closed)
Patch Set: Review comments Created 4 years, 3 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.cc
diff --git a/chrome/browser/prerender/prerender_manager_factory.cc b/chrome/browser/prerender/prerender_manager_factory.cc
index aa315e72c5e41294d0b453a813002c4d46198b39..895e4f4423aeb16456b837311cf50c9027410334 100644
--- a/chrome/browser/prerender/prerender_manager_factory.cc
+++ b/chrome/browser/prerender/prerender_manager_factory.cc
@@ -21,13 +21,13 @@
namespace prerender {
// static
-PrerenderManager* PrerenderManagerFactory::GetForProfile(
- Profile* profile) {
+PrerenderManager* PrerenderManagerFactory::GetForBrowserContext(
+ content::BrowserContext* context) {
TRACE_EVENT0("browser", "PrerenderManagerFactory::GetForProfile")
if (!PrerenderManager::IsPrerenderingPossible())
return NULL;
return static_cast<PrerenderManager*>(
- GetInstance()->GetServiceForBrowserContext(profile, true));
+ GetInstance()->GetServiceForBrowserContext(context, true));
}
// static
« no previous file with comments | « chrome/browser/prerender/prerender_manager_factory.h ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698