Index: net/spdy/spdy_session_pool.cc |
diff --git a/net/spdy/spdy_session_pool.cc b/net/spdy/spdy_session_pool.cc |
index e72064baad5575f70bc05f2319952ece576a3416..9910f43b0ac3ab02cd74b851d9589f29cfbba64b 100644 |
--- a/net/spdy/spdy_session_pool.cc |
+++ b/net/spdy/spdy_session_pool.cc |
@@ -301,6 +301,14 @@ void SpdySessionPool::OnCertTrustChanged(const X509Certificate* cert) { |
CloseCurrentSessions(ERR_NETWORK_CHANGED); |
} |
+void SpdySessionPool::OnDatabaseChanged() { |
+ // Per wtc, we actually only need to CloseCurrentSessions when trust is |
+ // reduced. CloseCurrentSessions now because OnDatabaseChanged does not |
+ // tell us this. |
+ // See comments in ClientSocketPoolManager::OnCertTrustChanged. |
+ CloseCurrentSessions(ERR_NETWORK_CHANGED); |
+} |
+ |
bool SpdySessionPool::IsSessionAvailable( |
const base::WeakPtr<SpdySession>& session) const { |
for (AvailableSessionMap::const_iterator it = available_sessions_.begin(); |