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

Unified Diff: remoting/host/url_fetcher.cc

Issue 10559036: Added URLRequestContext to constructor for URLRequest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated unittests 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: remoting/host/url_fetcher.cc
diff --git a/remoting/host/url_fetcher.cc b/remoting/host/url_fetcher.cc
index 606d1f9167d158409587fae09681b6762bb179cd..522f12f95f3512593d2876cbab0548bf74b6741e 100644
--- a/remoting/host/url_fetcher.cc
+++ b/remoting/host/url_fetcher.cc
@@ -143,8 +143,10 @@ void UrlFetcher::Core::OnReadCompleted(net::URLRequest* request,
void UrlFetcher::Core::DoStart() {
DCHECK(io_message_loop_->BelongsToCurrentThread());
- request_.reset(new net::URLRequest(url_, this));
- request_->set_context(request_context_getter_->GetURLRequestContext());
+ request_.reset(new net::URLRequest(
+ url_,
+ this,
+ request_context_getter_->GetURLRequestContext()));
switch (method_) {
case GET:

Powered by Google App Engine
This is Rietveld 408576698