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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 nullptr, // transport_security_state | 407 nullptr, // transport_security_state |
408 nullptr, // cert_transparency_verifier | 408 nullptr, // cert_transparency_verifier |
409 nullptr, // cert_policy_enforcer | 409 nullptr, // cert_policy_enforcer |
410 std::string(), // ssl_session_cache_shard | 410 std::string(), // ssl_session_cache_shard |
411 nullptr, // deterministic_socket_factory | 411 nullptr, // deterministic_socket_factory |
412 nullptr, // transport_socket_pool | 412 nullptr, // transport_socket_pool |
413 nullptr, | 413 nullptr, |
414 nullptr, | 414 nullptr, |
415 nullptr, // ssl_config_service | 415 nullptr, // ssl_config_service |
416 false, // enable_ssl_connect_job_waiting | 416 false, // enable_ssl_connect_job_waiting |
417 nullptr), // net_log | 417 nullptr, // net_log |
| 418 nullptr), // ssl_socket_config_service |
418 last_num_streams_(-1) { | 419 last_num_streams_(-1) { |
419 } | 420 } |
420 | 421 |
421 class HttpStreamFactoryTest : public ::testing::Test, | 422 class HttpStreamFactoryTest : public ::testing::Test, |
422 public ::testing::WithParamInterface<NextProto> { | 423 public ::testing::WithParamInterface<NextProto> { |
423 }; | 424 }; |
424 | 425 |
425 INSTANTIATE_TEST_CASE_P( | 426 INSTANTIATE_TEST_CASE_P( |
426 NextProto, | 427 NextProto, |
427 HttpStreamFactoryTest, | 428 HttpStreamFactoryTest, |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1300 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
1300 | 1301 |
1301 // Make sure there is no orphaned job. it is already canceled. | 1302 // Make sure there is no orphaned job. it is already canceled. |
1302 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1303 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
1303 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1304 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
1304 } | 1305 } |
1305 | 1306 |
1306 } // namespace | 1307 } // namespace |
1307 | 1308 |
1308 } // namespace net | 1309 } // namespace net |
OLD | NEW |