Chromium Code Reviews| Index: components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc |
| diff --git a/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc b/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc |
| index 3ac238c839a61fc338d255125a011808a2935e18..5a05d727129751f9040db93d959a0493f0677e21 100644 |
| --- a/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc |
| +++ b/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc |
| @@ -22,6 +22,7 @@ |
| #include "content/public/common/page_transition_types.h" |
| #include "content/public/test/mock_resource_context.h" |
| #include "content/public/test/test_renderer_host.h" |
| +#include "net/base/request_priority.h" |
| #include "net/http/http_response_headers.h" |
| #include "net/http/http_response_info.h" |
| #include "net/url_request/url_request.h" |
| @@ -118,7 +119,11 @@ class TestIOThreadState { |
| RedirectMode redirect_mode, |
| MockInterceptCallbackReceiver* callback_receiver) |
| : resource_context_(&test_url_request_context_), |
| - request_(url, NULL, resource_context_.GetRequestContext()) { |
| + request_(url, |
| + net::DEFAULT_PRIORITY, |
| + NULL, |
| + resource_context_.GetRequestContext(), |
| + NULL) { |
|
mmenke
2013/10/30 15:27:11
This depends on the resource_context_ having a NUL
akalin
2013/10/30 21:44:37
removed arg.
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
| if (render_process_id != MSG_ROUTING_NONE && |
| render_view_id != MSG_ROUTING_NONE) { |