| 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" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "net/base/port_util.h" |
| 12 #include "net/base/test_completion_callback.h" | 13 #include "net/base/test_completion_callback.h" |
| 13 #include "net/cert/mock_cert_verifier.h" | 14 #include "net/cert/mock_cert_verifier.h" |
| 14 #include "net/dns/mock_host_resolver.h" | 15 #include "net/dns/mock_host_resolver.h" |
| 15 #include "net/http/http_auth_handler_factory.h" | 16 #include "net/http/http_auth_handler_factory.h" |
| 16 #include "net/http/http_network_session.h" | 17 #include "net/http/http_network_session.h" |
| 17 #include "net/http/http_network_session_peer.h" | 18 #include "net/http/http_network_session_peer.h" |
| 18 #include "net/http/http_network_transaction.h" | 19 #include "net/http/http_network_transaction.h" |
| 19 #include "net/http/http_request_info.h" | 20 #include "net/http/http_request_info.h" |
| 20 #include "net/http/http_server_properties.h" | 21 #include "net/http/http_server_properties.h" |
| 21 #include "net/http/http_server_properties_impl.h" | 22 #include "net/http/http_server_properties_impl.h" |
| (...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1411 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1412 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
| 1412 | 1413 |
| 1413 // Make sure there is no orphaned job. it is already canceled. | 1414 // Make sure there is no orphaned job. it is already canceled. |
| 1414 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1415 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
| 1415 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1416 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
| 1416 } | 1417 } |
| 1417 | 1418 |
| 1418 } // namespace | 1419 } // namespace |
| 1419 | 1420 |
| 1420 } // namespace net | 1421 } // namespace net |
| OLD | NEW |