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

Unified Diff: net/spdy/spdy_session_pool.cc

Issue 2363653002: Cleanup unreachable cert adding code (Closed)
Patch Set: Created 4 years, 3 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
Index: net/spdy/spdy_session_pool.cc
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc
index a22b57a859f6140a65484b8abbeb5cd3e09be198..89bdff0863c65fbad9f2b70dc7963dfb4d3fde75 100644
--- a/net/spdy/spdy_session_pool.cc
+++ b/net/spdy/spdy_session_pool.cc
@@ -360,15 +360,7 @@ void SpdySessionPool::OnSSLConfigChanged() {
CloseCurrentSessions(ERR_NETWORK_CHANGED);
}
-void SpdySessionPool::OnCertAdded(const X509Certificate* cert) {
- CloseCurrentSessions(ERR_CERT_DATABASE_CHANGED);
-}
-
-void SpdySessionPool::OnCACertChanged(const X509Certificate* cert) {
- // Per wtc, we actually only need to CloseCurrentSessions when trust is
- // reduced. CloseCurrentSessions now because OnCACertChanged does not
- // tell us this.
- // See comments in ClientSocketPoolManager::OnCACertChanged.
+void SpdySessionPool::OnCertDBChanged(const X509Certificate* cert) {
CloseCurrentSessions(ERR_CERT_DATABASE_CHANGED);
}

Powered by Google App Engine
This is Rietveld 408576698