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> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
| 17 #include "base/message_loop/message_loop.h" |
17 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
18 #include "base/test/histogram_tester.h" | 19 #include "base/test/histogram_tester.h" |
19 #include "net/base/port_util.h" | 20 #include "net/base/port_util.h" |
20 #include "net/base/privacy_mode.h" | 21 #include "net/base/privacy_mode.h" |
21 #include "net/base/test_completion_callback.h" | 22 #include "net/base/test_completion_callback.h" |
22 #include "net/base/test_proxy_delegate.h" | 23 #include "net/base/test_proxy_delegate.h" |
23 #include "net/cert/ct_policy_enforcer.h" | 24 #include "net/cert/ct_policy_enforcer.h" |
24 #include "net/cert/mock_cert_verifier.h" | 25 #include "net/cert/mock_cert_verifier.h" |
25 #include "net/cert/multi_log_ct_verifier.h" | 26 #include "net/cert/multi_log_ct_verifier.h" |
26 #include "net/dns/mock_host_resolver.h" | 27 #include "net/dns/mock_host_resolver.h" |
(...skipping 2675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2702 session->GetTransportSocketPool( | 2703 session->GetTransportSocketPool( |
2703 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2704 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2704 EXPECT_EQ(1, GetSocketPoolGroupCount( | 2705 EXPECT_EQ(1, GetSocketPoolGroupCount( |
2705 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); | 2706 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); |
2706 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); | 2707 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); |
2707 } | 2708 } |
2708 | 2709 |
2709 } // namespace | 2710 } // namespace |
2710 | 2711 |
2711 } // namespace net | 2712 } // namespace net |
OLD | NEW |