Chromium Code Reviews| Index: content/browser/loader/resource_dispatcher_host_impl.cc |
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
| index 14bfe1749fb58250ddd77a038091b436aa48b309..dfe6b63502ade2b504e19061f8a31fc1cbc2f7be 100644 |
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc |
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
| @@ -2271,6 +2271,18 @@ void ResourceDispatcherHostImpl::OnRequestResourceWithMojo( |
| filter_ = nullptr; |
| } |
| +void ResourceDispatcherHostImpl::OnSyncLoadWithMojo( |
| + int32_t routing_id, |
|
yhirano
2016/10/12 10:55:30
int?
tzik
2016/10/12 12:06:00
Done.
|
| + int request_id, |
| + const ResourceRequest& request_data, |
| + ResourceMessageFilter* filter, |
| + const SyncLoadResultCallback& cb) { |
|
yhirano
2016/10/12 10:55:30
"result_handler" might be better.
tzik
2016/10/12 12:06:00
Done.
|
| + filter_ = filter; |
| + BeginRequest(request_id, request_data, cb, routing_id, |
| + nullptr, nullptr); |
| + filter_ = nullptr; |
| +} |
| + |
| // static |
| int ResourceDispatcherHostImpl::CalculateApproximateMemoryCost( |
| net::URLRequest* request) { |