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

Unified Diff: chrome/browser/chromeos/login/auth/auth_prewarmer.cc

Issue 2004453002: Add a Dns preresolve interface in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@predictor_dns_browsertest
Patch Set: Comment change Created 4 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
« no previous file with comments | « no previous file | chrome/browser/net/predictor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/auth/auth_prewarmer.cc
diff --git a/chrome/browser/chromeos/login/auth/auth_prewarmer.cc b/chrome/browser/chromeos/login/auth/auth_prewarmer.cc
index 6ebf6bfa231768c524a921ac57b8ec7ab1bde069..881ec2ec096cbcc983da4b2fb6a5ce629987c0ff 100644
--- a/chrome/browser/chromeos/login/auth/auth_prewarmer.cc
+++ b/chrome/browser/chromeos/login/auth/auth_prewarmer.cc
@@ -97,8 +97,8 @@ void AuthPrewarmer::DoPrewarm() {
content::BrowserThread::PostTask(
content::BrowserThread::IO, FROM_HERE,
base::Bind(&content::PreconnectUrl,
- base::RetainedRef(GetRequestContext()), url, url,
- kConnectionsNeeded, true,
+ ProfileHelper::GetSigninProfile()->GetResourceContext(), url,
+ url, kConnectionsNeeded, true,
net::HttpRequestInfo::EARLY_LOAD_MOTIVATED));
if (!completion_callback_.is_null()) {
content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
« no previous file with comments | « no previous file | chrome/browser/net/predictor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698