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