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

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

Issue 8857002: net: split the SSL session cache between incognito and normal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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 | Annotate | Revision Log
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 SSLClientSocketPool( 175 SSLClientSocketPool(
176 int max_sockets, 176 int max_sockets,
177 int max_sockets_per_group, 177 int max_sockets_per_group,
178 ClientSocketPoolHistograms* histograms, 178 ClientSocketPoolHistograms* histograms,
179 HostResolver* host_resolver, 179 HostResolver* host_resolver,
180 CertVerifier* cert_verifier, 180 CertVerifier* cert_verifier,
181 OriginBoundCertService* origin_bound_cert_service, 181 OriginBoundCertService* origin_bound_cert_service,
182 TransportSecurityState* transport_security_state, 182 TransportSecurityState* transport_security_state,
183 DnsCertProvenanceChecker* dns_cert_checker, 183 DnsCertProvenanceChecker* dns_cert_checker,
184 SSLHostInfoFactory* ssl_host_info_factory, 184 SSLHostInfoFactory* ssl_host_info_factory,
185 const std::string& session_cache_shard,
185 ClientSocketFactory* client_socket_factory, 186 ClientSocketFactory* client_socket_factory,
186 TransportClientSocketPool* transport_pool, 187 TransportClientSocketPool* transport_pool,
187 SOCKSClientSocketPool* socks_pool, 188 SOCKSClientSocketPool* socks_pool,
188 HttpProxyClientSocketPool* http_proxy_pool, 189 HttpProxyClientSocketPool* http_proxy_pool,
189 SSLConfigService* ssl_config_service, 190 SSLConfigService* ssl_config_service,
190 NetLog* net_log); 191 NetLog* net_log);
191 192
192 virtual ~SSLClientSocketPool(); 193 virtual ~SSLClientSocketPool();
193 194
194 // ClientSocketPool methods: 195 // ClientSocketPool methods:
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 const scoped_refptr<SSLConfigService> ssl_config_service_; 295 const scoped_refptr<SSLConfigService> ssl_config_service_;
295 296
296 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool); 297 DISALLOW_COPY_AND_ASSIGN(SSLClientSocketPool);
297 }; 298 };
298 299
299 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams); 300 REGISTER_SOCKET_PARAMS_FOR_POOL(SSLClientSocketPool, SSLSocketParams);
300 301
301 } // namespace net 302 } // namespace net
302 303
303 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_ 304 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698