| Index: net/quic/chromium/quic_stream_factory.cc
|
| diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc
|
| index c0b86dc8ad67ed4d6ea6350964c0fa57bbdf9d0d..58238e1427710bf498b947a6e2904f1706e5c8ee 100644
|
| --- a/net/quic/chromium/quic_stream_factory.cc
|
| +++ b/net/quic/chromium/quic_stream_factory.cc
|
| @@ -1502,18 +1502,14 @@ void QuicStreamFactory::OnSSLConfigChanged() {
|
| CloseAllSessions(ERR_CERT_DATABASE_CHANGED, QUIC_CONNECTION_CANCELLED);
|
| }
|
|
|
| -void QuicStreamFactory::OnCertAdded(const X509Certificate* cert) {
|
| - CloseAllSessions(ERR_CERT_DATABASE_CHANGED, QUIC_CONNECTION_CANCELLED);
|
| -}
|
| -
|
| -void QuicStreamFactory::OnCACertChanged(const X509Certificate* cert) {
|
| +void QuicStreamFactory::OnCertDBChanged(const X509Certificate* cert) {
|
| // We should flush the sessions if we removed trust from a
|
| // cert, because a previously trusted server may have become
|
| // untrusted.
|
| //
|
| // We should not flush the sessions if we added trust to a cert.
|
| //
|
| - // Since the OnCACertChanged method doesn't tell us what
|
| + // Since the OnCertDBChanged method doesn't tell us what
|
| // kind of change it is, we have to flush the socket
|
| // pools to be safe.
|
| CloseAllSessions(ERR_CERT_DATABASE_CHANGED, QUIC_CONNECTION_CANCELLED);
|
|
|