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

Unified Diff: webkit/appcache/appcache_request_handler_unittest.cc

Issue 10534100: Decouple URLRequestJob from URLRequestContext; access NetworkDelegate as a contructor parameter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merged with latest sync 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
« no previous file with comments | « net/url_request/url_request_test_job.cc ('k') | webkit/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_request_handler_unittest.cc
diff --git a/webkit/appcache/appcache_request_handler_unittest.cc b/webkit/appcache/appcache_request_handler_unittest.cc
index 5e6e928a1190a23e41bf40f05cf5e63b49971c4a..d5372126ba2f4d653be9d76902581cff6602a496 100644
--- a/webkit/appcache/appcache_request_handler_unittest.cc
+++ b/webkit/appcache/appcache_request_handler_unittest.cc
@@ -75,12 +75,13 @@ class AppCacheRequestHandlerTest : public testing::Test {
public:
MockURLRequestJob(net::URLRequest* request,
int response_code)
- : net::URLRequestJob(request),
+ : net::URLRequestJob(request, request->context()->network_delegate()),
response_code_(response_code),
has_response_info_(false) {}
MockURLRequestJob(net::URLRequest* request,
const net::HttpResponseInfo& info)
- : net::URLRequestJob(request),
+ : net::URLRequestJob(request,
+ request->context()->network_delegate()),
response_code_(info.headers->response_code()),
has_response_info_(true),
response_info_(info) {}
« no previous file with comments | « net/url_request/url_request_test_job.cc ('k') | webkit/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698