| 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 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 template <> | 441 template <> |
| 442 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( | 442 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( |
| 443 HostResolver* /* host_resolver */, | 443 HostResolver* /* host_resolver */, |
| 444 CertVerifier* cert_verifier) | 444 CertVerifier* cert_verifier) |
| 445 : SSLClientSocketPool(0, | 445 : SSLClientSocketPool(0, |
| 446 0, | 446 0, |
| 447 cert_verifier, | 447 cert_verifier, |
| 448 nullptr, // channel_id_store | 448 nullptr, // channel_id_store |
| 449 nullptr, // transport_security_state | 449 nullptr, // transport_security_state |
| 450 nullptr, // cert_transparency_verifier | 450 nullptr, // cert_transparency_verifier |
| 451 nullptr, // cert_policy_enforcer | 451 nullptr, // ct_policy_enforcer |
| 452 std::string(), // ssl_session_cache_shard | 452 std::string(), // ssl_session_cache_shard |
| 453 nullptr, // deterministic_socket_factory | 453 nullptr, // deterministic_socket_factory |
| 454 nullptr, // transport_socket_pool | 454 nullptr, // transport_socket_pool |
| 455 nullptr, | 455 nullptr, |
| 456 nullptr, | 456 nullptr, |
| 457 nullptr, // ssl_config_service | 457 nullptr, // ssl_config_service |
| 458 nullptr), // net_log | 458 nullptr), // net_log |
| 459 last_num_streams_(-1) { | 459 last_num_streams_(-1) { |
| 460 } | 460 } |
| 461 | 461 |
| (...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1682 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1682 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
| 1683 | 1683 |
| 1684 // Make sure there is no orphaned job. it is already canceled. | 1684 // Make sure there is no orphaned job. it is already canceled. |
| 1685 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1685 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
| 1686 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1686 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
| 1687 } | 1687 } |
| 1688 | 1688 |
| 1689 } // namespace | 1689 } // namespace |
| 1690 | 1690 |
| 1691 } // namespace net | 1691 } // namespace net |
| OLD | NEW |