| 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 c44f026fa8b38b87d59c409493d6457475097360..7a88b26f6306f94e0d59141899662b7edd932451 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -745,7 +745,7 @@ DownloadInterruptReason ResourceDispatcherHostImpl::BeginDownload(
|
| const Referrer& referrer,
|
| bool is_content_initiated,
|
| ResourceContext* context,
|
| - int child_id,
|
| + int render_process_id,
|
| int render_view_route_id,
|
| int render_frame_route_id,
|
| bool do_not_prompt_for_login) {
|
| @@ -773,7 +773,7 @@ DownloadInterruptReason ResourceDispatcherHostImpl::BeginDownload(
|
|
|
| // Check if the renderer is permitted to request the requested URL.
|
| if (!ChildProcessSecurityPolicyImpl::GetInstance()->
|
| - CanRequestURL(child_id, url)) {
|
| + CanRequestURL(render_process_id, url)) {
|
| DVLOG(1) << "Denied unauthorized download request for "
|
| << url.possibly_invalid_spec();
|
| return DOWNLOAD_INTERRUPT_REASON_NETWORK_INVALID_REQUEST;
|
| @@ -789,7 +789,7 @@ DownloadInterruptReason ResourceDispatcherHostImpl::BeginDownload(
|
| }
|
|
|
| ResourceRequestInfoImpl* extra_info =
|
| - CreateRequestInfo(child_id, render_view_route_id,
|
| + CreateRequestInfo(render_process_id, render_view_route_id,
|
| render_frame_route_id, true, context);
|
| extra_info->set_do_not_prompt_for_login(do_not_prompt_for_login);
|
| extra_info->AssociateWithRequest(request.get()); // Request takes ownership.
|
|
|