| 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 6cd99e8f9fcebe11be63a288316d1deeefa0859b..d8f675250d20cf6a9955c3b9c084a911d15be564 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -1684,6 +1684,7 @@ ResourceDispatcherHostImpl::CreateResourceHandler(
|
| return AddStandardHandlers(request, request_data.resource_type,
|
| resource_context,
|
| request_data.fetch_request_context_type,
|
| + request_data.fetch_mixed_content_context_type,
|
| requester_info->appcache_service(), child_id,
|
| route_id, std::move(handler));
|
| }
|
| @@ -1694,6 +1695,7 @@ ResourceDispatcherHostImpl::AddStandardHandlers(
|
| ResourceType resource_type,
|
| ResourceContext* resource_context,
|
| RequestContextType fetch_request_context_type,
|
| + blink::WebMixedContent::ContextType fetch_mixed_content_context_type,
|
| AppCacheService* appcache_service,
|
| int child_id,
|
| int route_id,
|
| @@ -1712,7 +1714,8 @@ ResourceDispatcherHostImpl::AddStandardHandlers(
|
| // thread is handled by the NavigationURLloader.
|
| if (!IsBrowserSideNavigationEnabled() && IsResourceTypeFrame(resource_type)) {
|
| throttles.push_back(base::MakeUnique<NavigationResourceThrottle>(
|
| - request, delegate_, fetch_request_context_type));
|
| + request, delegate_, fetch_request_context_type,
|
| + fetch_mixed_content_context_type));
|
| }
|
|
|
| if (delegate_) {
|
| @@ -2286,6 +2289,7 @@ void ResourceDispatcherHostImpl::BeginNavigationRequest(
|
| handler = AddStandardHandlers(
|
| new_request.get(), resource_type, resource_context,
|
| info.begin_params.request_context_type,
|
| + info.begin_params.mixed_content_context_type,
|
| appcache_handle_core ? appcache_handle_core->GetAppCacheService()
|
| : nullptr,
|
| -1, // child_id
|
|
|