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

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: Addressed wtc's final comments 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 | « jingle/notifier/base/xmpp_client_socket_factory.cc ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »
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.
56 virtual void ClearSSLSessionCache() = 0;
57
55 // Returns the default ClientSocketFactory. 58 // Returns the default ClientSocketFactory.
56 static ClientSocketFactory* GetDefaultFactory(); 59 static ClientSocketFactory* GetDefaultFactory();
57 60
58 // Instructs the default ClientSocketFactory to use the system SSL library. 61 // Instructs the default ClientSocketFactory to use the system SSL library.
59 static void UseSystemSSL(); 62 static void UseSystemSSL();
60 }; 63 };
61 64
62 } // namespace net 65 } // namespace net
63 66
64 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ 67 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/xmpp_client_socket_factory.cc ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698