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

Unified Diff: chrome/browser/net/connection_tester.cc

Issue 10559036: Added URLRequestContext to constructor for URLRequest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merged with latest version Created 8 years, 6 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/net/connection_tester.cc
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index f2856006927d393a327a0e73a4fc369d2f5064a5..e13e5dcfaaeb0db743f4c92321a9fbd4b9d462a5 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -395,8 +395,9 @@ void ConnectionTester::TestRunner::ProxyConfigServiceCreated(
return;
}
// Fetch a request using the experimental context.
- request_.reset(new net::URLRequest(experiment.url, this));
- request_->set_context(request_context_.get());
+ request_.reset(new net::URLRequest(experiment.url,
+ this,
+ request_context_.get()));
request_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698