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_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/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 kMaxSockets, | 68 kMaxSockets, |
69 kMaxSocketsPerGroup, | 69 kMaxSocketsPerGroup, |
70 &tcp_histograms_, | 70 &tcp_histograms_, |
71 session_deps_.deterministic_socket_factory.get()), | 71 session_deps_.deterministic_socket_factory.get()), |
72 ssl_histograms_("MockSSL"), | 72 ssl_histograms_("MockSSL"), |
73 ssl_socket_pool_(kMaxSockets, | 73 ssl_socket_pool_(kMaxSockets, |
74 kMaxSocketsPerGroup, | 74 kMaxSocketsPerGroup, |
75 &ssl_histograms_, | 75 &ssl_histograms_, |
76 session_deps_.host_resolver.get(), | 76 session_deps_.host_resolver.get(), |
77 session_deps_.cert_verifier.get(), | 77 session_deps_.cert_verifier.get(), |
78 NULL /* server_bound_cert_store */, | 78 NULL /* channel_id_store */, |
79 NULL /* transport_security_state */, | 79 NULL /* transport_security_state */, |
80 NULL /* cert_transparency_verifier */, | 80 NULL /* cert_transparency_verifier */, |
81 std::string() /* ssl_session_cache_shard */, | 81 std::string() /* ssl_session_cache_shard */, |
82 session_deps_.deterministic_socket_factory.get(), | 82 session_deps_.deterministic_socket_factory.get(), |
83 &transport_socket_pool_, | 83 &transport_socket_pool_, |
84 NULL, | 84 NULL, |
85 NULL, | 85 NULL, |
86 session_deps_.ssl_config_service.get(), | 86 session_deps_.ssl_config_service.get(), |
87 BoundNetLog().net_log()), | 87 BoundNetLog().net_log()), |
88 session_(CreateNetworkSession()), | 88 session_(CreateNetworkSession()), |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 EXPECT_TRUE(headers->IsRedirect(&location)); | 712 EXPECT_TRUE(headers->IsRedirect(&location)); |
713 EXPECT_EQ(location, redirectTarget); | 713 EXPECT_EQ(location, redirectTarget); |
714 } | 714 } |
715 } | 715 } |
716 | 716 |
717 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. | 717 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. |
718 | 718 |
719 } // namespace | 719 } // namespace |
720 | 720 |
721 } // namespace net | 721 } // namespace net |
OLD | NEW |