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 <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "net/quic/chromium/quic_stream_factory_peer.h" | 44 #include "net/quic/chromium/quic_stream_factory_peer.h" |
45 #include "net/quic/chromium/quic_test_packet_maker.h" | 45 #include "net/quic/chromium/quic_test_packet_maker.h" |
46 #include "net/quic/core/quic_server_id.h" | 46 #include "net/quic/core/quic_server_id.h" |
47 #include "net/quic/test_tools/crypto_test_utils.h" | 47 #include "net/quic/test_tools/crypto_test_utils.h" |
48 #include "net/quic/test_tools/mock_random.h" | 48 #include "net/quic/test_tools/mock_random.h" |
49 #include "net/quic/test_tools/quic_test_utils.h" | 49 #include "net/quic/test_tools/quic_test_utils.h" |
50 #include "net/socket/client_socket_handle.h" | 50 #include "net/socket/client_socket_handle.h" |
51 #include "net/socket/mock_client_socket_pool_manager.h" | 51 #include "net/socket/mock_client_socket_pool_manager.h" |
52 #include "net/socket/next_proto.h" | 52 #include "net/socket/next_proto.h" |
53 #include "net/socket/socket_test_util.h" | 53 #include "net/socket/socket_test_util.h" |
54 #include "net/spdy/spdy_session.h" | 54 #include "net/spdy/chromium/spdy_session.h" |
55 #include "net/spdy/spdy_session_pool.h" | 55 #include "net/spdy/chromium/spdy_session_pool.h" |
56 #include "net/spdy/spdy_test_util_common.h" | 56 #include "net/spdy/chromium/spdy_test_util_common.h" |
57 #include "net/ssl/ssl_config_service.h" | 57 #include "net/ssl/ssl_config_service.h" |
58 #include "net/ssl/ssl_config_service_defaults.h" | 58 #include "net/ssl/ssl_config_service_defaults.h" |
59 #include "net/test/cert_test_util.h" | 59 #include "net/test/cert_test_util.h" |
60 #include "net/test/gtest_util.h" | 60 #include "net/test/gtest_util.h" |
61 #include "net/test/test_data_directory.h" | 61 #include "net/test/test_data_directory.h" |
62 | 62 |
63 // This file can be included from net/http even though | 63 // This file can be included from net/http even though |
64 // it is in net/websockets because it doesn't | 64 // it is in net/websockets because it doesn't |
65 // introduce any link dependency to net/websockets. | 65 // introduce any link dependency to net/websockets. |
66 #include "net/websockets/websocket_handshake_stream_base.h" | 66 #include "net/websockets/websocket_handshake_stream_base.h" |
(...skipping 2638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2705 session->GetTransportSocketPool( | 2705 session->GetTransportSocketPool( |
2706 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2706 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2707 EXPECT_EQ(1, GetSocketPoolGroupCount( | 2707 EXPECT_EQ(1, GetSocketPoolGroupCount( |
2708 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2708 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2709 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 2709 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
2710 } | 2710 } |
2711 | 2711 |
2712 } // namespace | 2712 } // namespace |
2713 | 2713 |
2714 } // namespace net | 2714 } // namespace net |
OLD | NEW |