| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_proxy_client_socket_pool.h" | 5 #include "net/http/http_proxy_client_socket_pool.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| 11 #include "base/utf_string_conversions.h" |
| 11 #include "net/base/auth.h" | 12 #include "net/base/auth.h" |
| 12 #include "net/base/mock_host_resolver.h" | 13 #include "net/base/mock_host_resolver.h" |
| 13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 14 #include "net/base/test_completion_callback.h" | 15 #include "net/base/test_completion_callback.h" |
| 15 #include "net/base/ssl_config_service_defaults.h" | 16 #include "net/base/ssl_config_service_defaults.h" |
| 16 #include "net/http/http_auth_handler_factory.h" | 17 #include "net/http/http_auth_handler_factory.h" |
| 17 #include "net/http/http_network_session.h" | 18 #include "net/http/http_network_session.h" |
| 18 #include "net/http/http_request_headers.h" | 19 #include "net/http/http_request_headers.h" |
| 19 #include "net/http/http_response_headers.h" | 20 #include "net/http/http_response_headers.h" |
| 20 #include "net/socket/client_socket_factory.h" | 21 #include "net/socket/client_socket_factory.h" |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 handle.release_pending_http_proxy_connection()); | 590 handle.release_pending_http_proxy_connection()); |
| 590 EXPECT_TRUE(tunnel_handle->socket()); | 591 EXPECT_TRUE(tunnel_handle->socket()); |
| 591 EXPECT_FALSE(tunnel_handle->socket()->IsConnected()); | 592 EXPECT_FALSE(tunnel_handle->socket()->IsConnected()); |
| 592 } | 593 } |
| 593 | 594 |
| 594 // It would be nice to also test the timeouts in SSLClientSocketPool. | 595 // It would be nice to also test the timeouts in SSLClientSocketPool. |
| 595 | 596 |
| 596 } // namespace | 597 } // namespace |
| 597 | 598 |
| 598 } // namespace net | 599 } // namespace net |
| OLD | NEW |