• David Benjamin's avatar
    Move OnCertDBChanged to SSLClientContext. · 247f1eed
    David Benjamin authored
    Rather than have SpdySessionPool and the socket pools listen to both
    SSLClientContext and the CertDatabase separately, lump them both under
    SSL-external notifications of SSL state changing.
    
    (Note ClientSocketPoolManagerImpl's SSLClientContext::Observer
    counterpart is TransportClientSocketPool. Also note this fixes
    an inconsistency between HTTP/1.1 and HTTP/2. HTTP/2 had a
    ERR_NETWORK_CHANGED vs ERR_CERT_DATABASE_CHANGED distinction while
    HTTP/1.1 did not. I've made them both match.)
    
    Change-Id: Ibde71856fc1d605757dbf869ce1eba482a6bbafc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1703232
    Commit-Queue: David Benjamin <davidben@chromium.org>
    Reviewed-by: default avatarRyan Sleevi <rsleevi@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#683760}
    247f1eed
transport_client_socket_pool.cc 67.4 KB