diff options
Diffstat (limited to 'net/url_request/url_request_test_job.cc')
-rw-r--r-- | net/url_request/url_request_test_job.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/url_request/url_request_test_job.cc b/net/url_request/url_request_test_job.cc index 94a6bf5..9ec31fc 100644 --- a/net/url_request/url_request_test_job.cc +++ b/net/url_request/url_request_test_job.cc @@ -16,6 +16,7 @@ #include "net/base/net_errors.h" #include "net/http/http_response_headers.h" #include "net/url_request/url_request.h" +#include "net/url_request/url_request_context.h" namespace net { @@ -85,7 +86,7 @@ URLRequestJob* URLRequestTestJob::Factory(URLRequest* request, } URLRequestTestJob::URLRequestTestJob(URLRequest* request) - : URLRequestJob(request), + : URLRequestJob(request, request->context()->network_delegate()), auto_advance_(false), stage_(WAITING), offset_(0), @@ -96,7 +97,7 @@ URLRequestTestJob::URLRequestTestJob(URLRequest* request) URLRequestTestJob::URLRequestTestJob(URLRequest* request, bool auto_advance) - : URLRequestJob(request), + : URLRequestJob(request, request->context()->network_delegate()), auto_advance_(auto_advance), stage_(WAITING), offset_(0), @@ -109,7 +110,7 @@ URLRequestTestJob::URLRequestTestJob(URLRequest* request, const std::string& response_headers, const std::string& response_data, bool auto_advance) - : URLRequestJob(request), + : URLRequestJob(request, request->context()->network_delegate()), auto_advance_(auto_advance), stage_(WAITING), response_headers_(new HttpResponseHeaders(response_headers)), |