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/socket/client_socket_pool_manager.h" | 5 #include "net/socket/client_socket_pool_manager.h" |
6 | 6 |
7 #include <string> | |
8 | |
9 #include "base/logging.h" | 7 #include "base/logging.h" |
10 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
11 #include "net/base/load_flags.h" | 9 #include "net/base/load_flags.h" |
12 #include "net/http/http_proxy_client_socket_pool.h" | 10 #include "net/http/http_proxy_client_socket_pool.h" |
13 #include "net/http/http_request_info.h" | 11 #include "net/http/http_request_info.h" |
14 #include "net/http/http_stream_factory.h" | 12 #include "net/http/http_stream_factory.h" |
15 #include "net/proxy/proxy_info.h" | 13 #include "net/proxy/proxy_info.h" |
16 #include "net/socket/client_socket_handle.h" | 14 #include "net/socket/client_socket_handle.h" |
17 #include "net/socket/client_socket_pool.h" | 15 #include "net/socket/client_socket_pool.h" |
18 #include "net/socket/socks_client_socket_pool.h" | 16 #include "net/socket/socks_client_socket_pool.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 int num_preconnect_streams) { | 453 int num_preconnect_streams) { |
456 return InitSocketPoolHelper( | 454 return InitSocketPoolHelper( |
457 group_type, endpoint, request_extra_headers, request_load_flags, | 455 group_type, endpoint, request_extra_headers, request_load_flags, |
458 request_priority, session, proxy_info, expect_spdy, ssl_config_for_origin, | 456 request_priority, session, proxy_info, expect_spdy, ssl_config_for_origin, |
459 ssl_config_for_proxy, /*force_tunnel=*/false, privacy_mode, net_log, | 457 ssl_config_for_proxy, /*force_tunnel=*/false, privacy_mode, net_log, |
460 num_preconnect_streams, NULL, HttpNetworkSession::NORMAL_SOCKET_POOL, | 458 num_preconnect_streams, NULL, HttpNetworkSession::NORMAL_SOCKET_POOL, |
461 OnHostResolutionCallback(), CompletionCallback()); | 459 OnHostResolutionCallback(), CompletionCallback()); |
462 } | 460 } |
463 | 461 |
464 } // namespace net | 462 } // namespace net |
OLD | NEW |