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

Unified Diff: chrome/browser/net/http_pipelining_compatibility_client.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/http_pipelining_compatibility_client.cc
diff --git a/chrome/browser/net/http_pipelining_compatibility_client.cc b/chrome/browser/net/http_pipelining_compatibility_client.cc
index ae81dca363882e9a4ee622700a545a85512fc404..b13bed1e39aecff9d78a9cfc219edd7c71784402 100644
--- a/chrome/browser/net/http_pipelining_compatibility_client.cc
+++ b/chrome/browser/net/http_pipelining_compatibility_client.cc
@@ -88,10 +88,11 @@ Request::Request(int request_id,
net::URLRequestContext* url_request_context)
: delegate_(delegate),
request_id_(request_id),
- url_request_(new net::URLRequest(GURL(base_url + info.filename), this)),
+ url_request_(new net::URLRequest(GURL(base_url + info.filename),
+ this,
+ url_request_context)),
info_(info),
response_code_(0) {
- url_request_->set_context(url_request_context);
url_request_->set_load_flags(net::LOAD_BYPASS_CACHE |
net::LOAD_DISABLE_CACHE |
net::LOAD_DO_NOT_SAVE_COOKIES |

Powered by Google App Engine
This is Rietveld 408576698