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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 | 399 |
400 template <> | 400 template <> |
401 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( | 401 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( |
402 HostResolver* host_resolver, | 402 HostResolver* host_resolver, |
403 CertVerifier* cert_verifier) | 403 CertVerifier* cert_verifier) |
404 : SSLClientSocketPool(0, | 404 : SSLClientSocketPool(0, |
405 0, | 405 0, |
406 NULL, // ssl_histograms | 406 NULL, // ssl_histograms |
407 host_resolver, | 407 host_resolver, |
408 cert_verifier, | 408 cert_verifier, |
409 NULL, // server_bound_cert_store | 409 NULL, // channel_id_store |
410 NULL, // transport_security_state | 410 NULL, // transport_security_state |
411 NULL, // cert_transparency_verifier | 411 NULL, // cert_transparency_verifier |
412 std::string(), // ssl_session_cache_shard | 412 std::string(), // ssl_session_cache_shard |
413 NULL, // deterministic_socket_factory | 413 NULL, // deterministic_socket_factory |
414 NULL, // transport_socket_pool | 414 NULL, // transport_socket_pool |
415 NULL, | 415 NULL, |
416 NULL, | 416 NULL, |
417 NULL, // ssl_config_service | 417 NULL, // ssl_config_service |
418 NULL), // net_log | 418 NULL), // net_log |
419 last_num_streams_(-1) {} | 419 last_num_streams_(-1) {} |
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1305 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
1306 | 1306 |
1307 // Make sure there is no orphaned job. it is already canceled. | 1307 // Make sure there is no orphaned job. it is already canceled. |
1308 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1308 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
1309 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1309 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
1310 } | 1310 } |
1311 | 1311 |
1312 } // namespace | 1312 } // namespace |
1313 | 1313 |
1314 } // namespace net | 1314 } // namespace net |
OLD | NEW |