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 23 matching lines...) Expand all Loading... |
34 #include "net/http/http_server_properties.h" | 34 #include "net/http/http_server_properties.h" |
35 #include "net/http/http_server_properties_impl.h" | 35 #include "net/http/http_server_properties_impl.h" |
36 #include "net/http/http_stream.h" | 36 #include "net/http/http_stream.h" |
37 #include "net/http/transport_security_state.h" | 37 #include "net/http/transport_security_state.h" |
38 #include "net/log/net_log_with_source.h" | 38 #include "net/log/net_log_with_source.h" |
39 #include "net/proxy/proxy_info.h" | 39 #include "net/proxy/proxy_info.h" |
40 #include "net/proxy/proxy_server.h" | 40 #include "net/proxy/proxy_server.h" |
41 #include "net/proxy/proxy_service.h" | 41 #include "net/proxy/proxy_service.h" |
42 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" | 42 #include "net/quic/chromium/mock_crypto_client_stream_factory.h" |
43 #include "net/quic/chromium/quic_http_utils.h" | 43 #include "net/quic/chromium/quic_http_utils.h" |
| 44 #include "net/quic/chromium/quic_stream_factory_peer.h" |
44 #include "net/quic/chromium/quic_test_packet_maker.h" | 45 #include "net/quic/chromium/quic_test_packet_maker.h" |
45 #include "net/quic/core/quic_server_id.h" | 46 #include "net/quic/core/quic_server_id.h" |
46 #include "net/quic/test_tools/crypto_test_utils.h" | 47 #include "net/quic/test_tools/crypto_test_utils.h" |
47 #include "net/quic/test_tools/mock_random.h" | 48 #include "net/quic/test_tools/mock_random.h" |
48 #include "net/quic/test_tools/quic_stream_factory_peer.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/spdy_session.h" |
55 #include "net/spdy/spdy_session_pool.h" | 55 #include "net/spdy/spdy_session_pool.h" |
56 #include "net/spdy/spdy_test_util_common.h" | 56 #include "net/spdy/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" |
(...skipping 2580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2639 session->GetTransportSocketPool( | 2639 session->GetTransportSocketPool( |
2640 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2640 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2641 EXPECT_EQ(1, GetSocketPoolGroupCount( | 2641 EXPECT_EQ(1, GetSocketPoolGroupCount( |
2642 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2642 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2643 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 2643 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
2644 } | 2644 } |
2645 | 2645 |
2646 } // namespace | 2646 } // namespace |
2647 | 2647 |
2648 } // namespace net | 2648 } // namespace net |
OLD | NEW |