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

Side by Side Diff: net/socket/ssl_client_socket.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual bool was_npn_negotiated() const; 93 virtual bool was_npn_negotiated() const;
94 94
95 virtual bool set_was_npn_negotiated(bool negotiated); 95 virtual bool set_was_npn_negotiated(bool negotiated);
96 96
97 virtual void UseDNSSEC(DNSSECProvider*) { } 97 virtual void UseDNSSEC(DNSSECProvider*) { }
98 98
99 virtual bool was_spdy_negotiated() const; 99 virtual bool was_spdy_negotiated() const;
100 100
101 virtual bool set_was_spdy_negotiated(bool negotiated); 101 virtual bool set_was_spdy_negotiated(bool negotiated);
102 102
103 // Clears cache used for SSL session resumption.
104 static void ClearSSLSessionCache();
105
106 // To use the System specific SSL libraries for clearning the SSL
107 // session cache.
108 static void UseSystemClearSSLSessionCache();
wtc 2011/02/23 00:38:38 These two static methods should be combined into o
109
103 private: 110 private:
104 // True if NPN was responded to, independent of selecting SPDY or HTTP. 111 // True if NPN was responded to, independent of selecting SPDY or HTTP.
105 bool was_npn_negotiated_; 112 bool was_npn_negotiated_;
106 // True if NPN successfully negotiated SPDY. 113 // True if NPN successfully negotiated SPDY.
107 bool was_spdy_negotiated_; 114 bool was_spdy_negotiated_;
108 }; 115 };
109 116
110 } // namespace net 117 } // namespace net
111 118
112 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_ 119 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698