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_proxy_client_socket_pool.h" | 5 #include "net/http/http_proxy_client_socket_pool.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "net/http/http_request_headers.h" | 23 #include "net/http/http_request_headers.h" |
24 #include "net/http/http_response_headers.h" | 24 #include "net/http/http_response_headers.h" |
25 #include "net/http/http_server_properties_impl.h" | 25 #include "net/http/http_server_properties_impl.h" |
26 #include "net/http/transport_security_state.h" | 26 #include "net/http/transport_security_state.h" |
27 #include "net/log/net_log_source.h" | 27 #include "net/log/net_log_source.h" |
28 #include "net/log/net_log_with_source.h" | 28 #include "net/log/net_log_with_source.h" |
29 #include "net/proxy/proxy_service.h" | 29 #include "net/proxy/proxy_service.h" |
30 #include "net/socket/client_socket_handle.h" | 30 #include "net/socket/client_socket_handle.h" |
31 #include "net/socket/next_proto.h" | 31 #include "net/socket/next_proto.h" |
32 #include "net/socket/socket_test_util.h" | 32 #include "net/socket/socket_test_util.h" |
33 #include "net/spdy/spdy_session.h" | 33 #include "net/spdy/chromium/spdy_session.h" |
34 #include "net/spdy/spdy_session_pool.h" | 34 #include "net/spdy/chromium/spdy_session_pool.h" |
35 #include "net/spdy/spdy_test_util_common.h" | 35 #include "net/spdy/chromium/spdy_test_util_common.h" |
36 #include "net/ssl/ssl_config_service_defaults.h" | 36 #include "net/ssl/ssl_config_service_defaults.h" |
37 #include "net/test/gtest_util.h" | 37 #include "net/test/gtest_util.h" |
38 #include "net/test/test_certificate_data.h" | 38 #include "net/test/test_certificate_data.h" |
39 #include "testing/gmock/include/gmock/gmock.h" | 39 #include "testing/gmock/include/gmock/gmock.h" |
40 #include "testing/gtest/include/gtest/gtest.h" | 40 #include "testing/gtest/include/gtest/gtest.h" |
41 | 41 |
42 using net::test::IsError; | 42 using net::test::IsError; |
43 using net::test::IsOk; | 43 using net::test::IsOk; |
44 | 44 |
45 namespace net { | 45 namespace net { |
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 ssl.channel_id_sent = true; | 935 ssl.channel_id_sent = true; |
936 ssl.next_proto = kProtoHTTP2; | 936 ssl.next_proto = kProtoHTTP2; |
937 TestIPPoolingDisabled(&ssl); | 937 TestIPPoolingDisabled(&ssl); |
938 } | 938 } |
939 | 939 |
940 // It would be nice to also test the timeouts in SSLClientSocketPool. | 940 // It would be nice to also test the timeouts in SSLClientSocketPool. |
941 | 941 |
942 } // namespace | 942 } // namespace |
943 | 943 |
944 } // namespace net | 944 } // namespace net |
OLD | NEW |