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

Unified Diff: net/socket/client_socket_factory.cc

Issue 8857002: net: split the SSL session cache between incognito and normal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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
Index: net/socket/client_socket_factory.cc
diff --git a/net/socket/client_socket_factory.cc b/net/socket/client_socket_factory.cc
index dd7746dfe661a002969de9e7abedc5bcbcdd01bc..60daef4d19fd24e096cab5024d74ff26eecb29fc 100644
--- a/net/socket/client_socket_factory.cc
+++ b/net/socket/client_socket_factory.cc
@@ -102,22 +102,8 @@ class DefaultClientSocketFactory : public ClientSocketFactory,
#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
+ SSLClientSocket::ClearSessionCache();
}
};

Powered by Google App Engine
This is Rietveld 408576698