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

Unified Diff: net/url_request/url_request_test_util.cc

Issue 407093011: Allow URLRequests from one context to have different NetworkDelegates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And fix more stuff... Created 6 years, 5 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: net/url_request/url_request_test_util.cc
diff --git a/net/url_request/url_request_test_util.cc b/net/url_request/url_request_test_util.cc
index d61b3c39d899ee7980292f97110c1e83dc5e6a53..16f441f0bc9b7f6fd772ce455a6ed883fe5396ac 100644
--- a/net/url_request/url_request_test_util.cc
+++ b/net/url_request/url_request_test_util.cc
@@ -134,7 +134,9 @@ TestURLRequest::TestURLRequest(const GURL& url,
RequestPriority priority,
Delegate* delegate,
TestURLRequestContext* context)
- : URLRequest(url, priority, delegate, context) {}
+ : URLRequest(url, priority, delegate, context, context->cookie_store(),
+ context->network_delegate()) {
+}
TestURLRequest::~TestURLRequest() {
}

Powered by Google App Engine
This is Rietveld 408576698