Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc |
index cd8633d3770c4bf1a33b79f0a13a4ba1c2738ae1..bffaec525b243d9431629991cf6296d5529df3dc 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc |
@@ -695,8 +695,7 @@ TEST_F(DataReductionProxyConfigServiceClientTest, AuthFailure) { |
base::TimeTicks::Now() - base::TimeDelta::FromSeconds(1); |
load_timing_info.send_start = load_timing_info.request_start; |
EXPECT_TRUE(config_client()->ShouldRetryDueToAuthFailure( |
- request_headers, parsed.get(), origin.host_port_pair(), |
- load_timing_info)); |
+ request_headers, parsed.get(), origin, load_timing_info)); |
EXPECT_EQ(1, config_client()->GetBackoffErrorCount()); |
// Persisted config on pref should be cleared. |
EXPECT_TRUE(persisted_config().empty()); |
@@ -722,8 +721,7 @@ TEST_F(DataReductionProxyConfigServiceClientTest, AuthFailure) { |
// Calling ShouldRetryDueToAuthFailure should trigger fetching of remote |
// config. |
EXPECT_TRUE(config_client()->ShouldRetryDueToAuthFailure( |
- request_headers, parsed.get(), origin.host_port_pair(), |
- load_timing_info)); |
+ request_headers, parsed.get(), origin, load_timing_info)); |
EXPECT_EQ(2, config_client()->GetBackoffErrorCount()); |
histogram_tester.ExpectBucketCount( |
"DataReductionProxy.ConfigService.AuthExpired", false, 2); |
@@ -780,8 +778,7 @@ TEST_F(DataReductionProxyConfigServiceClientTest, |
load_timing_info.send_start = load_timing_info.request_start; |
EXPECT_TRUE(config_client()->ShouldRetryDueToAuthFailure( |
- request_headers, parsed.get(), origin.host_port_pair(), |
- load_timing_info)); |
+ request_headers, parsed.get(), origin, load_timing_info)); |
EXPECT_EQ(0, config_client()->GetBackoffErrorCount()); |
// Persisted config on pref should be cleared. |
EXPECT_FALSE(persisted_config().empty()); |