Index: content/child/web_url_loader_impl_unittest.cc |
diff --git a/content/child/web_url_loader_impl_unittest.cc b/content/child/web_url_loader_impl_unittest.cc |
index dc4baeb4e8fe650bbed33100d268996c9e0d107b..1647243ac938ce1845af8b96d4b81efe6c85635a 100644 |
--- a/content/child/web_url_loader_impl_unittest.cc |
+++ b/content/child/web_url_loader_impl_unittest.cc |
@@ -71,14 +71,19 @@ class TestResourceDispatcher : public ResourceDispatcher { |
void StartSync(const RequestInfo& request_info, |
ResourceRequestBodyImpl* request_body, |
- SyncLoadResponse* response) override { |
+ SyncLoadResponse* response, |
+ blink::WebURLRequest::LoadingIPCType ipc_type, |
+ mojom::URLLoaderFactory* url_loader_factory) override { |
*response = sync_load_response_; |
} |
int StartAsync(const RequestInfo& request_info, |
ResourceRequestBodyImpl* request_body, |
- std::unique_ptr<RequestPeer> peer) override { |
+ std::unique_ptr<RequestPeer> peer, |
+ blink::WebURLRequest::LoadingIPCType ipc_type, |
+ mojom::URLLoaderFactory* url_loader_factory) override { |
EXPECT_FALSE(peer_); |
+ EXPECT_EQ(blink::WebURLRequest::LoadingIPCType::ChromeIPC, ipc_type); |
peer_ = std::move(peer); |
url_ = request_info.url; |
stream_url_ = request_info.resource_body_stream_url; |
@@ -123,7 +128,8 @@ class TestWebURLLoaderClient : public blink::WebURLLoaderClient { |
scoped_refptr<scheduler::TaskQueue> task_runner) |
: loader_(new WebURLLoaderImpl( |
dispatcher, |
- base::WrapUnique(new scheduler::WebTaskRunnerImpl(task_runner)))), |
+ base::WrapUnique(new scheduler::WebTaskRunnerImpl(task_runner)), |
+ nullptr)), |
delete_on_receive_redirect_(false), |
delete_on_receive_response_(false), |
delete_on_receive_data_(false), |