| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| index 5bc90cc3fc3a48fb6accc768448696b7ab8274c1..2f78903effc20e3519684a8bf18e2891adfd54bd 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| @@ -458,8 +458,11 @@ TEST_F(DataReductionProxyNetworkDelegateTest, NetHistograms) {
|
| fake_request->SetLoadFlags(fake_request->load_flags() | net::LOAD_MAIN_FRAME);
|
|
|
| base::TimeDelta freshness_lifetime =
|
| - fake_request->response_info().headers->GetFreshnessLifetimes(
|
| - fake_request->response_info().response_time).freshness;
|
| + fake_request->response_info()
|
| + .headers
|
| + ->GetExpirationTimes(fake_request->response_info().request_time,
|
| + fake_request->response_info().response_time)
|
| + .freshness_lifetime;
|
|
|
| histogram_tester.ExpectUniqueSample(kReceivedValidOCLHistogramName,
|
| kResponseContentLength, 1);
|
|
|