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

Side by Side Diff: net/http/http_network_session.h

Issue 6487012: Clear the SSL Client Auth cache when a new SSL Client Certificate is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 } 144 }
145 145
146 // Creates a Value summary of the state of the SPDY sessions. The caller is 146 // Creates a Value summary of the state of the SPDY sessions. The caller is
147 // responsible for deleting the returned value. 147 // responsible for deleting the returned value.
148 Value* SpdySessionPoolInfoToValue() const; 148 Value* SpdySessionPoolInfoToValue() const;
149 149
150 void FlushSocketPools() { 150 void FlushSocketPools() {
151 socket_pool_manager_.FlushSocketPools(); 151 socket_pool_manager_.FlushSocketPools();
152 } 152 }
153 153
154 void ResetSSLState();
155
154 private: 156 private:
155 friend class base::RefCounted<HttpNetworkSession>; 157 friend class base::RefCounted<HttpNetworkSession>;
156 friend class HttpNetworkSessionPeer; 158 friend class HttpNetworkSessionPeer;
157 159
158 ~HttpNetworkSession(); 160 ~HttpNetworkSession();
159 161
160 HttpAuthCache auth_cache_; 162 HttpAuthCache auth_cache_;
161 SSLClientAuthCache ssl_client_auth_cache_; 163 SSLClientAuthCache ssl_client_auth_cache_;
162 HttpAlternateProtocols alternate_protocols_; 164 HttpAlternateProtocols alternate_protocols_;
163 CertVerifier* cert_verifier_; 165 CertVerifier* cert_verifier_;
164 // Not const since it's modified by HttpNetworkSessionPeer for testing. 166 // Not const since it's modified by HttpNetworkSessionPeer for testing.
165 scoped_refptr<ProxyService> proxy_service_; 167 scoped_refptr<ProxyService> proxy_service_;
166 const scoped_refptr<SSLConfigService> ssl_config_service_; 168 const scoped_refptr<SSLConfigService> ssl_config_service_;
167 ClientSocketPoolManager socket_pool_manager_; 169 ClientSocketPoolManager socket_pool_manager_;
168 SpdySessionPool spdy_session_pool_; 170 SpdySessionPool spdy_session_pool_;
169 HttpStreamFactory http_stream_factory_; 171 HttpStreamFactory http_stream_factory_;
170 HttpAuthHandlerFactory* const http_auth_handler_factory_; 172 HttpAuthHandlerFactory* const http_auth_handler_factory_;
171 HttpNetworkDelegate* const network_delegate_; 173 HttpNetworkDelegate* const network_delegate_;
172 NetLog* const net_log_; 174 NetLog* const net_log_;
173 SpdySettingsStorage spdy_settings_; 175 SpdySettingsStorage spdy_settings_;
174 std::set<HttpResponseBodyDrainer*> response_drainers_; 176 std::set<HttpResponseBodyDrainer*> response_drainers_;
175 }; 177 };
176 178
177 } // namespace net 179 } // namespace net
178 180
179 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 181 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698