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> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | |
10 #include "base/logging.h" | 9 #include "base/logging.h" |
11 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
12 #include "net/base/load_flags.h" | 11 #include "net/base/load_flags.h" |
13 #include "net/http/http_proxy_client_socket_pool.h" | 12 #include "net/http/http_proxy_client_socket_pool.h" |
14 #include "net/http/http_request_info.h" | 13 #include "net/http/http_request_info.h" |
15 #include "net/http/http_stream_factory.h" | 14 #include "net/http/http_stream_factory.h" |
16 #include "net/proxy/proxy_info.h" | 15 #include "net/proxy/proxy_info.h" |
17 #include "net/socket/client_socket_handle.h" | 16 #include "net/socket/client_socket_handle.h" |
18 #include "net/socket/socks_client_socket_pool.h" | 17 #include "net/socket/socks_client_socket_pool.h" |
19 #include "net/socket/ssl_client_socket_pool.h" | 18 #include "net/socket/ssl_client_socket_pool.h" |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 int num_preconnect_streams) { | 484 int num_preconnect_streams) { |
486 return InitSocketPoolHelper( | 485 return InitSocketPoolHelper( |
487 group_type, endpoint, request_extra_headers, request_load_flags, | 486 group_type, endpoint, request_extra_headers, request_load_flags, |
488 request_priority, session, proxy_info, expect_spdy, ssl_config_for_origin, | 487 request_priority, session, proxy_info, expect_spdy, ssl_config_for_origin, |
489 ssl_config_for_proxy, /*force_tunnel=*/false, privacy_mode, net_log, | 488 ssl_config_for_proxy, /*force_tunnel=*/false, privacy_mode, net_log, |
490 num_preconnect_streams, NULL, HttpNetworkSession::NORMAL_SOCKET_POOL, | 489 num_preconnect_streams, NULL, HttpNetworkSession::NORMAL_SOCKET_POOL, |
491 OnHostResolutionCallback(), CompletionCallback()); | 490 OnHostResolutionCallback(), CompletionCallback()); |
492 } | 491 } |
493 | 492 |
494 } // namespace net | 493 } // namespace net |
OLD | NEW |