| 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 e45c1c9836a02699159b45cf7965ee52427dcdd6..40d50fd359e4b3c346211072cae0aa717ccdd64a 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
|
| @@ -355,8 +355,7 @@ TEST_F(DataReductionProxyInterceptorEndToEndTest, ResponseWithoutRetry) {
|
| EXPECT_EQ(net::OK, delegate().request_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) {
|
| @@ -389,8 +388,7 @@ TEST_F(DataReductionProxyInterceptorEndToEndTest, RedirectWithoutRetry) {
|
| EXPECT_EQ(net::OK, delegate().request_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());
|
| }
|
|
|