| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/http/http_network_layer.h" | 5 #include "net/http/http_network_layer.h" |
| 6 | 6 |
| 7 #include "net/base/mock_cert_verifier.h" | |
| 8 #include "net/base/net_log.h" | 7 #include "net/base/net_log.h" |
| 8 #include "net/cert/mock_cert_verifier.h" |
| 9 #include "net/dns/mock_host_resolver.h" | 9 #include "net/dns/mock_host_resolver.h" |
| 10 #include "net/http/http_network_session.h" | 10 #include "net/http/http_network_session.h" |
| 11 #include "net/http/http_server_properties_impl.h" | 11 #include "net/http/http_server_properties_impl.h" |
| 12 #include "net/http/http_transaction_unittest.h" | 12 #include "net/http/http_transaction_unittest.h" |
| 13 #include "net/proxy/proxy_service.h" | 13 #include "net/proxy/proxy_service.h" |
| 14 #include "net/socket/socket_test_util.h" | 14 #include "net/socket/socket_test_util.h" |
| 15 #include "net/spdy/spdy_session_pool.h" | 15 #include "net/spdy/spdy_session_pool.h" |
| 16 #include "net/ssl/ssl_config_service_defaults.h" | 16 #include "net/ssl/ssl_config_service_defaults.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 18 #include "testing/platform_test.h" | 18 #include "testing/platform_test.h" |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 EXPECT_EQ(OK, rv); | 286 EXPECT_EQ(OK, rv); |
| 287 EXPECT_EQ("Bypass message", contents); | 287 EXPECT_EQ("Bypass message", contents); |
| 288 | 288 |
| 289 // We should have no entries in our bad proxy list. | 289 // We should have no entries in our bad proxy list. |
| 290 ASSERT_EQ(0u, proxy_service_->proxy_retry_info().size()); | 290 ASSERT_EQ(0u, proxy_service_->proxy_retry_info().size()); |
| 291 } | 291 } |
| 292 | 292 |
| 293 } // namespace | 293 } // namespace |
| 294 | 294 |
| 295 } // namespace net | 295 } // namespace net |
| OLD | NEW |