Index: components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc b/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
index 1965b9866faf1ddd0e050c7d4d94201f8334a686..1ebb7fe4c1a649e79d2686f4b2e732884f82f554 100644 |
--- a/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
+++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc |
@@ -337,6 +337,14 @@ TEST_F(DataReductionProxyHeadersTest, GetDataReductionProxyBypassEventType) { |
{ "HTTP/1.1 414 Request-URI Too Long\n" |
"Via: 1.1 Chrome-Compression-Proxy\n", |
net::ProxyService::BYPASS_EVENT_TYPE_MAX, |
+ }, |
+ { "HTTP/1.1 407 Proxy Authentication Required\n", |
+ net::ProxyService::MALFORMED_407_BYPASS, |
+ }, |
+ { "HTTP/1.1 407 Proxy Authentication Required\n" |
+ "Proxy-Authenticate: Basic\n" |
+ "Via: 1.1 Chrome-Compression-Proxy\n", |
+ net::ProxyService::BYPASS_EVENT_TYPE_MAX, |
} |
}; |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { |