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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 /* server_bound_cert_store */, |
79 NULL /* transport_security_state */, | 79 NULL /* transport_security_state */, |
| 80 NULL /* cert_transparency_verifier */, |
80 std::string() /* ssl_session_cache_shard */, | 81 std::string() /* ssl_session_cache_shard */, |
81 session_deps_.deterministic_socket_factory.get(), | 82 session_deps_.deterministic_socket_factory.get(), |
82 &transport_socket_pool_, | 83 &transport_socket_pool_, |
83 NULL, | 84 NULL, |
84 NULL, | 85 NULL, |
85 session_deps_.ssl_config_service.get(), | 86 session_deps_.ssl_config_service.get(), |
86 BoundNetLog().net_log()), | 87 BoundNetLog().net_log()), |
87 session_(CreateNetworkSession()), | 88 session_(CreateNetworkSession()), |
88 http_proxy_histograms_("HttpProxyUnitTest"), | 89 http_proxy_histograms_("HttpProxyUnitTest"), |
89 spdy_util_(GetParam().protocol), | 90 spdy_util_(GetParam().protocol), |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 EXPECT_TRUE(headers->IsRedirect(&location)); | 725 EXPECT_TRUE(headers->IsRedirect(&location)); |
725 EXPECT_EQ(location, redirectTarget); | 726 EXPECT_EQ(location, redirectTarget); |
726 } | 727 } |
727 } | 728 } |
728 | 729 |
729 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. | 730 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. |
730 | 731 |
731 } // namespace | 732 } // namespace |
732 | 733 |
733 } // namespace net | 734 } // namespace net |
OLD | NEW |