| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
| 14 #include "net/base/port_util.h" | 14 #include "net/base/port_util.h" |
| 15 #include "net/base/test_completion_callback.h" | 15 #include "net/base/test_completion_callback.h" |
| 16 #include "net/cert/mock_cert_verifier.h" | 16 #include "net/cert/mock_cert_verifier.h" |
| 17 #include "net/dns/mock_host_resolver.h" | 17 #include "net/dns/mock_host_resolver.h" |
| 18 #include "net/http/http_auth_handler_factory.h" | 18 #include "net/http/http_auth_handler_factory.h" |
| 19 #include "net/http/http_network_session.h" | 19 #include "net/http/http_network_session.h" |
| 20 #include "net/http/http_network_session_peer.h" | 20 #include "net/http/http_network_session_peer.h" |
| 21 #include "net/http/http_network_transaction.h" | 21 #include "net/http/http_network_transaction.h" |
| 22 #include "net/http/http_request_info.h" | 22 #include "net/http/http_request_info.h" |
| 23 #include "net/http/http_server_properties.h" | 23 #include "net/http/http_server_properties.h" |
| (...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1545 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 1545 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
| 1546 | 1546 |
| 1547 // Make sure there is no orphaned job. it is already canceled. | 1547 // Make sure there is no orphaned job. it is already canceled. |
| 1548 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( | 1548 ASSERT_EQ(0u, static_cast<HttpStreamFactoryImpl*>( |
| 1549 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); | 1549 session->http_stream_factory_for_websocket())->num_orphaned_jobs()); |
| 1550 } | 1550 } |
| 1551 | 1551 |
| 1552 } // namespace | 1552 } // namespace |
| 1553 | 1553 |
| 1554 } // namespace net | 1554 } // namespace net |
| OLD | NEW |