Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
index c0cf9ab67a28cdedbc95d17ac454042ebe333696..81dcb59070f82b40fc78c56b649c1327b8c294c0 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc |
@@ -359,8 +359,7 @@ TEST_F(DataReductionProxyInterceptorEndToEndTest, ResponseWithoutRetry) { |
EXPECT_EQ(net::URLRequestStatus::SUCCESS, request->status().status()); |
EXPECT_EQ(200, request->GetResponseCode()); |
EXPECT_EQ(kBody, delegate().data_received()); |
- EXPECT_EQ(origin().host_port_pair().ToString(), |
- request->proxy_server().ToString()); |
+ EXPECT_EQ(origin(), request->proxy_server()); |
} |
TEST_F(DataReductionProxyInterceptorEndToEndTest, RedirectWithoutRetry) { |
@@ -393,8 +392,7 @@ TEST_F(DataReductionProxyInterceptorEndToEndTest, RedirectWithoutRetry) { |
EXPECT_EQ(net::URLRequestStatus::SUCCESS, request->status().status()); |
EXPECT_EQ(200, request->GetResponseCode()); |
EXPECT_EQ(kBody, delegate().data_received()); |
- EXPECT_EQ(origin().host_port_pair().ToString(), |
- request->proxy_server().ToString()); |
+ EXPECT_EQ(origin(), request->proxy_server()); |
// The redirect should have been processed and followed normally. |
EXPECT_EQ(1, delegate().received_redirect_count()); |
} |