| Index: chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
| diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
| index a2f943e4c801cb410424d447e87c0e70912f6476..e96955d232bdd5b7e8816968d7359d91ee176e26 100644
|
| --- a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
| +++ b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
| @@ -509,7 +509,7 @@ void ChromeResourceDispatcherHostDelegate::RequestBeginning(
|
|
|
| if (io_data->resource_prefetch_predictor_observer()) {
|
| io_data->resource_prefetch_predictor_observer()->OnRequestStarted(
|
| - request, resource_type, info->GetChildID(), info->GetRenderFrameID());
|
| + request, resource_type, info->GetWebContentsGetterForRequest());
|
| }
|
| }
|
|
|
| @@ -775,7 +775,8 @@ void ChromeResourceDispatcherHostDelegate::OnResponseStarted(
|
| #endif
|
|
|
| if (io_data->resource_prefetch_predictor_observer())
|
| - io_data->resource_prefetch_predictor_observer()->OnResponseStarted(request);
|
| + io_data->resource_prefetch_predictor_observer()->OnResponseStarted(
|
| + request, info->GetWebContentsGetterForRequest());
|
|
|
| mod_pagespeed::RecordMetrics(info->GetResourceType(), request->url(),
|
| request->response_headers());
|
| @@ -801,7 +802,7 @@ void ChromeResourceDispatcherHostDelegate::OnRequestRedirected(
|
|
|
| if (io_data->resource_prefetch_predictor_observer()) {
|
| io_data->resource_prefetch_predictor_observer()->OnRequestRedirected(
|
| - redirect_url, request);
|
| + request, redirect_url, info->GetWebContentsGetterForRequest());
|
| }
|
|
|
| if (io_data->policy_header_helper())
|
|
|