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_stream_factory_impl.h" | 5 #include "net/http/http_stream_factory_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 : ParentPool(0, 0, host_resolver, nullptr, nullptr, nullptr), | 447 : ParentPool(0, 0, host_resolver, nullptr, nullptr, nullptr), |
448 last_num_streams_(-1) {} | 448 last_num_streams_(-1) {} |
449 | 449 |
450 template <> | 450 template <> |
451 CapturePreconnectsHttpProxySocketPool::CapturePreconnectsSocketPool( | 451 CapturePreconnectsHttpProxySocketPool::CapturePreconnectsSocketPool( |
452 HostResolver*, | 452 HostResolver*, |
453 CertVerifier*, | 453 CertVerifier*, |
454 TransportSecurityState*, | 454 TransportSecurityState*, |
455 CTVerifier*, | 455 CTVerifier*, |
456 CTPolicyEnforcer*) | 456 CTPolicyEnforcer*) |
457 : HttpProxyClientSocketPool(0, 0, nullptr, nullptr, nullptr), | 457 : HttpProxyClientSocketPool(0, 0, nullptr, nullptr, nullptr, nullptr), |
458 last_num_streams_(-1) {} | 458 last_num_streams_(-1) {} |
459 | 459 |
460 template <> | 460 template <> |
461 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( | 461 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( |
462 HostResolver* /* host_resolver */, | 462 HostResolver* /* host_resolver */, |
463 CertVerifier* cert_verifier, | 463 CertVerifier* cert_verifier, |
464 TransportSecurityState* transport_security_state, | 464 TransportSecurityState* transport_security_state, |
465 CTVerifier* cert_transparency_verifier, | 465 CTVerifier* cert_transparency_verifier, |
466 CTPolicyEnforcer* ct_policy_enforcer) | 466 CTPolicyEnforcer* ct_policy_enforcer) |
467 : SSLClientSocketPool(0, | 467 : SSLClientSocketPool(0, |
(...skipping 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2513 HttpNetworkSession::NORMAL_SOCKET_POOL))); | 2513 HttpNetworkSession::NORMAL_SOCKET_POOL))); |
2514 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetTransportSocketPool( | 2514 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetTransportSocketPool( |
2515 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2515 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2516 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetSSLSocketPool( | 2516 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetSSLSocketPool( |
2517 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2517 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2518 } | 2518 } |
2519 | 2519 |
2520 } // namespace | 2520 } // namespace |
2521 | 2521 |
2522 } // namespace net | 2522 } // namespace net |
OLD | NEW |