| 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..fe977c2253802771a195fca0582ce72baa938e01 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::OnDatabaseUpdated() {
|
| + // Per wtc, we actually only need to CloseCurrentSessions when trust is
|
| + // reduced. CloseCurrentSessions now because OnDatabaseUpdated 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();
|
|
|