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

Side by Side Diff: net/http/http_network_session.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_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 net_log(NULL) {} 67 net_log(NULL) {}
68 68
69 ClientSocketFactory* client_socket_factory; 69 ClientSocketFactory* client_socket_factory;
70 HostResolver* host_resolver; 70 HostResolver* host_resolver;
71 CertVerifier* cert_verifier; 71 CertVerifier* cert_verifier;
72 OriginBoundCertService* origin_bound_cert_service; 72 OriginBoundCertService* origin_bound_cert_service;
73 TransportSecurityState* transport_security_state; 73 TransportSecurityState* transport_security_state;
74 DnsCertProvenanceChecker* dns_cert_checker; 74 DnsCertProvenanceChecker* dns_cert_checker;
75 ProxyService* proxy_service; 75 ProxyService* proxy_service;
76 SSLHostInfoFactory* ssl_host_info_factory; 76 SSLHostInfoFactory* ssl_host_info_factory;
77 std::string ssl_session_cache_shard;
77 SSLConfigService* ssl_config_service; 78 SSLConfigService* ssl_config_service;
78 HttpAuthHandlerFactory* http_auth_handler_factory; 79 HttpAuthHandlerFactory* http_auth_handler_factory;
79 NetworkDelegate* network_delegate; 80 NetworkDelegate* network_delegate;
80 HttpServerProperties* http_server_properties; 81 HttpServerProperties* http_server_properties;
81 NetLog* net_log; 82 NetLog* net_log;
82 }; 83 };
83 84
84 explicit HttpNetworkSession(const Params& params); 85 explicit HttpNetworkSession(const Params& params);
85 86
86 HttpAuthCache* http_auth_cache() { return &http_auth_cache_; } 87 HttpAuthCache* http_auth_cache() { return &http_auth_cache_; }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 SSLClientAuthCache ssl_client_auth_cache_; 161 SSLClientAuthCache ssl_client_auth_cache_;
161 scoped_ptr<ClientSocketPoolManager> socket_pool_manager_; 162 scoped_ptr<ClientSocketPoolManager> socket_pool_manager_;
162 SpdySessionPool spdy_session_pool_; 163 SpdySessionPool spdy_session_pool_;
163 scoped_ptr<HttpStreamFactory> http_stream_factory_; 164 scoped_ptr<HttpStreamFactory> http_stream_factory_;
164 std::set<HttpResponseBodyDrainer*> response_drainers_; 165 std::set<HttpResponseBodyDrainer*> response_drainers_;
165 }; 166 };
166 167
167 } // namespace net 168 } // namespace net
168 169
169 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 170 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698