| Index: net/socket/client_socket_factory.cc
|
| ===================================================================
|
| --- net/socket/client_socket_factory.cc (revision 75806)
|
| +++ net/socket/client_socket_factory.cc (working copy)
|
| @@ -72,6 +72,25 @@
|
| return NULL;
|
| #endif
|
| }
|
| +
|
| + // TODO(rch): This is only implemented for the NSS SSL library, which is the
|
| + /// default for Windows, Mac and Linux, but we should implement it everywhere.
|
| + void ClearSSLSessionCache() {
|
| +#if defined(OS_WIN)
|
| + if (!g_use_system_ssl)
|
| + SSLClientSocketNSS::ClearSessionCache();
|
| +#elif defined(USE_OPENSSL)
|
| + // no-op
|
| +#elif defined(USE_NSS)
|
| + SSLClientSocketNSS::ClearSessionCache();
|
| +#elif defined(OS_MACOSX)
|
| + if (!g_use_system_ssl)
|
| + SSLClientSocketNSS::ClearSessionCache();
|
| +#else
|
| + NOTIMPLEMENTED();
|
| +#endif
|
| + }
|
| +
|
| };
|
|
|
| static base::LazyInstance<DefaultClientSocketFactory>
|
|
|