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

Unified Diff: net/socket/client_socket_factory.h

Issue 6561003: Remove the workaround for bug 43461. Use a g_use_system_ssl... (Closed) Base URL: svn://chrome-svn/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/run_all_unittests.cc ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_factory.h
===================================================================
--- net/socket/client_socket_factory.h (revision 75692)
+++ net/socket/client_socket_factory.h (working copy)
@@ -23,15 +23,6 @@
struct SSLConfig;
class SSLHostInfo;
-// Callback function to create new SSLClientSocket objects.
-typedef SSLClientSocket* (*SSLClientSocketFactory)(
- ClientSocketHandle* transport_socket,
- const HostPortPair& host_and_port,
- const SSLConfig& ssl_config,
- SSLHostInfo* ssl_host_info,
- CertVerifier* cert_verifier,
- DnsCertProvenanceChecker* dns_cert_checker);
-
// An interface used to instantiate ClientSocket objects. Used to facilitate
// testing code with mock socket implementations.
class ClientSocketFactory {
@@ -64,9 +55,8 @@
// Returns the default ClientSocketFactory.
static ClientSocketFactory* GetDefaultFactory();
- // Instructs the default ClientSocketFactory to use |factory| to create
- // SSLClientSocket objects.
- static void SetSSLClientSocketFactory(SSLClientSocketFactory factory);
+ // Instructs the default ClientSocketFactory to use the system SSL library.
+ static void UseSystemSSL();
};
} // namespace net
« no previous file with comments | « net/base/run_all_unittests.cc ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698