| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
|
| index 24140c9e29a3947e35ba784dff253adf1dd14aba..053394b69698d2e5f5980ac4f206a6da5e987916 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
|
| @@ -677,11 +677,11 @@ TEST_F(ChromeNetworkDailyDataSavingMetricsTest,
|
| .WithParamsFlags(DataReductionProxyParams::kAllowed)
|
| .WithParamsDefinitions(TestDataReductionProxyParams::HAS_ORIGIN)
|
| .Build();
|
| - TestDataReductionProxyParams* params = test_context->config()->test_params();
|
| + TestDataReductionProxyConfig* config = test_context->config();
|
|
|
| net::ProxyConfig data_reduction_proxy_config;
|
| data_reduction_proxy_config.proxy_rules().ParseFromString(
|
| - "http=" + params->origin().host_port_pair().ToString() + ",direct://");
|
| + "http=" + config->Origin().host_port_pair().ToString() + ",direct://");
|
| data_reduction_proxy_config.proxy_rules().bypass_rules.ParseFromString(
|
| "localbypass.com");
|
|
|
| @@ -695,7 +695,7 @@ TEST_F(ChromeNetworkDailyDataSavingMetricsTest,
|
| };
|
| const TestCase test_cases[] = {
|
| { GURL("http://foo.com"),
|
| - params->origin(),
|
| + config->Origin(),
|
| base::TimeDelta(),
|
| net::LOAD_NORMAL,
|
| "HTTP/1.1 200 OK\r\nVia: 1.1 Chrome-Compression-Proxy\r\n\r\n",
|
|
|