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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 nullptr, // channel_id_store | 406 nullptr, // channel_id_store |
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 | |
417 nullptr), // net_log | 416 nullptr), // net_log |
418 last_num_streams_(-1) { | 417 last_num_streams_(-1) { |
419 } | 418 } |
420 | 419 |
421 class HttpStreamFactoryTest : public ::testing::Test, | 420 class HttpStreamFactoryTest : public ::testing::Test, |
422 public ::testing::WithParamInterface<NextProto> { | 421 public ::testing::WithParamInterface<NextProto> { |
423 }; | 422 }; |
424 | 423 |
425 INSTANTIATE_TEST_CASE_P(NextProto, | 424 INSTANTIATE_TEST_CASE_P(NextProto, |
426 HttpStreamFactoryTest, | 425 HttpStreamFactoryTest, |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1361 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1360 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
1362 | 1361 |
1363 // Make sure there is no orphaned job. it is already canceled. | 1362 // Make sure there is no orphaned job. it is already canceled. |
1364 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1363 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
1365 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1364 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
1366 } | 1365 } |
1367 | 1366 |
1368 } // namespace | 1367 } // namespace |
1369 | 1368 |
1370 } // namespace net | 1369 } // namespace net |
OLD | NEW |