Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: net/socket/client_socket_pool_manager.h

Issue 2366893002: net: address review comments for NetLogWithSource renaming (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/http_transaction.h ('k') | net/socket/websocket_transport_connect_sub_job.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // ClientSocketPoolManager manages access to all ClientSocketPools. It's a 5 // ClientSocketPoolManager manages access to all ClientSocketPools. It's a
6 // simple container for all of them. Most importantly, it handles the lifetime 6 // simple container for all of them. Most importantly, it handles the lifetime
7 // and destruction order properly. 7 // and destruction order properly.
8 8
9 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ 9 #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_
10 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ 10 #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_
11 11
12 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 #include "net/base/request_priority.h" 14 #include "net/base/request_priority.h"
15 #include "net/http/http_network_session.h" 15 #include "net/http/http_network_session.h"
16 16
17 class GURL; 17 class GURL;
18 18
19 namespace base { 19 namespace base {
20 class Value; 20 class Value;
21 } 21 }
22 22
23 namespace net { 23 namespace net {
24 24
25 typedef base::Callback<int(const AddressList&, const NetLogWithSource& net_log)> 25 typedef base::Callback<int(const AddressList&, const NetLogWithSource& net_log)>
26 OnHostResolutionCallback; 26 OnHostResolutionCallback;
27 27
28 class NetLogWithSource;
29 class ClientSocketHandle; 28 class ClientSocketHandle;
30 class HostPortPair; 29 class HostPortPair;
31 class HttpNetworkSession; 30 class HttpNetworkSession;
32 class HttpProxyClientSocketPool; 31 class HttpProxyClientSocketPool;
33 class HttpRequestHeaders; 32 class HttpRequestHeaders;
33 class NetLogWithSource;
34 class ProxyInfo; 34 class ProxyInfo;
35 class TransportClientSocketPool; 35 class TransportClientSocketPool;
36 class SOCKSClientSocketPool; 36 class SOCKSClientSocketPool;
37 class SSLClientSocketPool; 37 class SSLClientSocketPool;
38 38
39 struct SSLConfig; 39 struct SSLConfig;
40 40
41 // This should rather be a simple constant but Windows shared libs doesn't 41 // This should rather be a simple constant but Windows shared libs doesn't
42 // really offer much flexiblity in exporting contants. 42 // really offer much flexiblity in exporting contants.
43 enum DefaultMaxValues { kDefaultMaxSocketsPerProxyServer = 32 }; 43 enum DefaultMaxValues { kDefaultMaxSocketsPerProxyServer = 32 };
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 bool expect_spdy, 182 bool expect_spdy,
183 const SSLConfig& ssl_config_for_origin, 183 const SSLConfig& ssl_config_for_origin,
184 const SSLConfig& ssl_config_for_proxy, 184 const SSLConfig& ssl_config_for_proxy,
185 PrivacyMode privacy_mode, 185 PrivacyMode privacy_mode,
186 const NetLogWithSource& net_log, 186 const NetLogWithSource& net_log,
187 int num_preconnect_streams); 187 int num_preconnect_streams);
188 188
189 } // namespace net 189 } // namespace net
190 190
191 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_ 191 #endif // NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_
OLDNEW
« no previous file with comments | « net/http/http_transaction.h ('k') | net/socket/websocket_transport_connect_sub_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698