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..ea20bb8684aa2223ec6ff2d74b5a8fdc4cae087f 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 |
+ ->ExpirationTimes(fake_request->response_info()->request_time, |
+ fake_request->response_info().response_time) |
+ .freshness; |
histogram_tester.ExpectUniqueSample(kReceivedValidOCLHistogramName, |
kResponseContentLength, 1); |