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

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

Issue 6580006: Implement ClientSocketFactory::ClearSSLSessionCache (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
« no previous file with comments | « no previous file | net/socket/client_socket_factory.cc » ('j') | net/socket/client_socket_factory.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SOCKET_CLIENT_SOCKET_FACTORY_H_ 5 #ifndef NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
6 #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ 6 #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 DnsCertProvenanceChecker* dns_cert_checker) = 0; 45 DnsCertProvenanceChecker* dns_cert_checker) = 0;
46 46
47 // Deprecated function (http://crbug.com/37810) that takes a ClientSocket. 47 // Deprecated function (http://crbug.com/37810) that takes a ClientSocket.
48 virtual SSLClientSocket* CreateSSLClientSocket( 48 virtual SSLClientSocket* CreateSSLClientSocket(
49 ClientSocket* transport_socket, 49 ClientSocket* transport_socket,
50 const HostPortPair& host_and_port, 50 const HostPortPair& host_and_port,
51 const SSLConfig& ssl_config, 51 const SSLConfig& ssl_config,
52 SSLHostInfo* ssl_host_info, 52 SSLHostInfo* ssl_host_info,
53 CertVerifier* cert_verifier); 53 CertVerifier* cert_verifier);
54 54
55 // Clears cache used for SSL session resumption. This is only implemented
56 // for the NSS SSL library, which is the default for Windows, Mac and Linux.
wtc 2011/02/24 01:00:14 I think we don't need to mention that this ClearSS
Ryan Hamilton 2011/02/24 22:38:46 Done.
57 virtual void ClearSSLSessionCache();
58
55 // Returns the default ClientSocketFactory. 59 // Returns the default ClientSocketFactory.
56 static ClientSocketFactory* GetDefaultFactory(); 60 static ClientSocketFactory* GetDefaultFactory();
57 61
58 // Instructs the default ClientSocketFactory to use the system SSL library. 62 // Instructs the default ClientSocketFactory to use the system SSL library.
59 static void UseSystemSSL(); 63 static void UseSystemSSL();
60 }; 64 };
61 65
62 } // namespace net 66 } // namespace net
63 67
64 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ 68 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | net/socket/client_socket_factory.cc » ('j') | net/socket/client_socket_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698