| 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 d2a9ce3300c2f820abbcfa2db9f04374ef7cced2..cf23dc969ca49af257e62a609bc2fd62bb1551df 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
|
| @@ -460,6 +460,7 @@ TEST_F(DataReductionProxyNetworkDelegateTest, MAYBE_NetHistograms) {
|
| std::unique_ptr<net::URLRequest> fake_request(
|
| FetchURLRequest(GURL("http://www.google.com/"), nullptr, response_headers,
|
| kResponseContentLength));
|
| + fake_request->SetLoadFlags(fake_request->load_flags() | net::LOAD_MAIN_FRAME);
|
|
|
| base::TimeDelta freshness_lifetime =
|
| fake_request->response_info().headers->GetFreshnessLifetimes(
|
| @@ -536,6 +537,8 @@ TEST_F(DataReductionProxyNetworkDelegateTest, MAYBE_NetHistograms) {
|
|
|
| fake_request = (FetchURLRequest(GURL("http://www.example.com/"), nullptr,
|
| response_headers, kResponseContentLength));
|
| + fake_request->SetLoadFlags(fake_request->load_flags() |
|
| + net::LOAD_MAIN_FRAME);
|
|
|
| // Histograms are accumulative, so get the sum of all the tests so far.
|
| int expected_count = 0;
|
|
|