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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 | 403 |
404 template <> | 404 template <> |
405 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( | 405 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( |
406 HostResolver* host_resolver, | 406 HostResolver* host_resolver, |
407 CertVerifier* cert_verifier) | 407 CertVerifier* cert_verifier) |
408 : SSLClientSocketPool(0, | 408 : SSLClientSocketPool(0, |
409 0, | 409 0, |
410 NULL, // ssl_histograms | 410 NULL, // ssl_histograms |
411 host_resolver, | 411 host_resolver, |
412 cert_verifier, | 412 cert_verifier, |
413 NULL, // server_bound_cert_store | 413 NULL, // channel_id_store |
414 NULL, // transport_security_state | 414 NULL, // transport_security_state |
415 NULL, // cert_transparency_verifier | 415 NULL, // cert_transparency_verifier |
416 std::string(), // ssl_session_cache_shard | 416 std::string(), // ssl_session_cache_shard |
417 NULL, // deterministic_socket_factory | 417 NULL, // deterministic_socket_factory |
418 NULL, // transport_socket_pool | 418 NULL, // transport_socket_pool |
419 NULL, | 419 NULL, |
420 NULL, | 420 NULL, |
421 NULL, // ssl_config_service | 421 NULL, // ssl_config_service |
422 NULL), // net_log | 422 NULL), // net_log |
423 last_num_streams_(-1) {} | 423 last_num_streams_(-1) {} |
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1308 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
1309 | 1309 |
1310 // Make sure there is no orphaned job. it is already canceled. | 1310 // Make sure there is no orphaned job. it is already canceled. |
1311 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1311 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
1312 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1312 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
1313 } | 1313 } |
1314 | 1314 |
1315 } // namespace | 1315 } // namespace |
1316 | 1316 |
1317 } // namespace net | 1317 } // namespace net |
OLD | NEW |