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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( | 416 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( |
417 HostResolver* host_resolver, | 417 HostResolver* host_resolver, |
418 CertVerifier* cert_verifier) | 418 CertVerifier* cert_verifier) |
419 : SSLClientSocketPool(0, | 419 : SSLClientSocketPool(0, |
420 0, | 420 0, |
421 NULL, | 421 NULL, |
422 host_resolver, | 422 host_resolver, |
423 cert_verifier, | 423 cert_verifier, |
424 NULL, | 424 NULL, |
425 NULL, | 425 NULL, |
| 426 NULL, |
426 std::string(), | 427 std::string(), |
427 NULL, | 428 NULL, |
428 NULL, | 429 NULL, |
429 NULL, | 430 NULL, |
430 NULL, | 431 NULL, |
431 NULL, | 432 NULL, |
432 NULL), | 433 NULL), |
433 last_num_streams_(-1) {} | 434 last_num_streams_(-1) {} |
434 | 435 |
435 class HttpStreamFactoryTest : public ::testing::Test, | 436 class HttpStreamFactoryTest : public ::testing::Test, |
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1271 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
1271 | 1272 |
1272 // Make sure there is no orphaned job. it is already canceled. | 1273 // Make sure there is no orphaned job. it is already canceled. |
1273 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1274 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
1274 session->websocket_handshake_stream_factory())->num_orphaned_jobs()); | 1275 session->websocket_handshake_stream_factory())->num_orphaned_jobs()); |
1275 } | 1276 } |
1276 | 1277 |
1277 } // namespace | 1278 } // namespace |
1278 | 1279 |
1279 } // namespace net | 1280 } // namespace net |
OLD | NEW |