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

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

Issue 8526006: Close idle sockets next time we are about to send data. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: code conventions Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 CertVerifier* cert_verifier, 180 CertVerifier* cert_verifier,
181 OriginBoundCertService* origin_bound_cert_service, 181 OriginBoundCertService* origin_bound_cert_service,
182 DnsRRResolver* dnsrr_resolver, 182 DnsRRResolver* dnsrr_resolver,
183 DnsCertProvenanceChecker* dns_cert_checker, 183 DnsCertProvenanceChecker* dns_cert_checker,
184 SSLHostInfoFactory* ssl_host_info_factory, 184 SSLHostInfoFactory* ssl_host_info_factory,
185 ClientSocketFactory* client_socket_factory, 185 ClientSocketFactory* client_socket_factory,
186 TransportClientSocketPool* transport_pool, 186 TransportClientSocketPool* transport_pool,
187 SOCKSClientSocketPool* socks_pool, 187 SOCKSClientSocketPool* socks_pool,
188 HttpProxyClientSocketPool* http_proxy_pool, 188 HttpProxyClientSocketPool* http_proxy_pool,
189 SSLConfigService* ssl_config_service, 189 SSLConfigService* ssl_config_service,
190 NetLog* net_log); 190 NetLog* net_log,
191 const ClientSocketPoolOptions& options = ClientSocketPoolOptions());
191 192
192 virtual ~SSLClientSocketPool(); 193 virtual ~SSLClientSocketPool();
193 194
194 // ClientSocketPool methods: 195 // ClientSocketPool methods:
195 virtual int RequestSocket(const std::string& group_name, 196 virtual int RequestSocket(const std::string& group_name,
196 const void* connect_params, 197 const void* connect_params,
197 RequestPriority priority, 198 RequestPriority priority,
198 ClientSocketHandle* handle, 199 ClientSocketHandle* handle,
199 OldCompletionCallback* callback, 200 OldCompletionCallback* callback,
200 const BoundNetLog& net_log); 201 const BoundNetLog& net_log);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 const scoped_refptr<SSLConfigService> ssl_config_service_; 282 const scoped_refptr<SSLConfigService> ssl_config_service_;
282 283
283 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 284 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
284 }; 285 };
285 286
286 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); 287 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams);
287 288
288 } // namespace net 289 } // namespace net
289 290
290 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 291 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698