Remove unnecessary IsCertificateError case.
After https://chromium-review.googlesource.com/c/chromium/src/+/1343054, HttpStreamFactory::Job::DoInitConnectionComplete will never proceed on a certificate error, so there is no need to extract ALPN bits. Inline HandleCertificateError to make this more obvious (otherwise it looks like HandleCertificateError may sometimes return OK). Bug: none Change-Id: I57e9554bd4062a467e4f65306f41f8bbe13c8457 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1595979 Auto-Submit: David Benjamin <davidben@chromium.org> Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: David Benjamin <davidben@chromium.org> Cr-Commit-Position: refs/heads/master@{#657296}
Showing
Please register or sign in to comment