Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc |
index 8268474f979d17b5aa792e857dcb323ce8767c8c..9f4dcf82f1ec5bc584945850e6a6ee5ca5f2ff91 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc |
@@ -212,24 +212,9 @@ TEST_F(DataReductionProxyRequestOptionsTest, AuthorizationOnIOThread) { |
// Don't write headers with a valid proxy, that's not a data reduction proxy. |
VerifyExpectedHeader(kOtherProxy, std::string()); |
- // Don't write headers with a valid data reduction ssl proxy. |
- VerifyExpectedHeader(params()->DefaultSSLOrigin(), std::string()); |
- |
// Write headers with a valid data reduction proxy. |
VerifyExpectedHeader(params()->DefaultOrigin(), expected_header); |
- // Write headers with a valid data reduction ssl proxy when one is expected. |
- net::HttpRequestHeaders ssl_headers; |
- request_options()->MaybeAddProxyTunnelRequestHandler( |
- net::ProxyServer::FromURI( |
- params()->DefaultSSLOrigin(), |
- net::ProxyServer::SCHEME_HTTP).host_port_pair(), |
- &ssl_headers); |
- EXPECT_TRUE(ssl_headers.HasHeader(kChromeProxyHeader)); |
- std::string ssl_header_value; |
- ssl_headers.GetHeader(kChromeProxyHeader, &ssl_header_value); |
- EXPECT_EQ(expected_header, ssl_header_value); |
- |
// Fast forward 24 hours. The header should be the same. |
request_options()->set_offset(base::TimeDelta::FromSeconds(24 * 60 * 60)); |
VerifyExpectedHeader(params()->DefaultOrigin(), expected_header); |