iOS: Avoid an unnecessary CertStatus <-> net::Error round trip
Rather than converting a net::CertStatus into a net:Error, and then back from a net::Error into a net::CertStatus, use the original net::CertStatus passed through the layers. For iOS, we don't use the Chrome network stack for these loads, and so there will only ever be an NSError and not a net::Error. Bug: 618799 Change-Id: Ic94c2e248e74651e78cb604421dd93c6067250be Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879796 Auto-Submit: Ryan Sleevi <rsleevi@chromium.org> Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Ryan Sleevi <rsleevi@chromium.org> Cr-Commit-Position: refs/heads/master@{#709198}
Showing
Please register or sign in to comment