commit | e28b6027e7aecc43a94a02d49586eb1caecfce55 | [log] [tgz] |
---|---|---|
author | Eric Roman <[email protected]> | Wed Oct 09 19:22:17 2019 |
committer | Commit Bot <[email protected]> | Wed Oct 09 19:22:17 2019 |
tree | 71eb5e83f4a9368a97a6a501235e83f31f34c157 | |
parent | 56dda171111587b66898d7420c636135ee701467 [diff] [blame] |
Add tests for IsCertificateError() and IsClientCertificateError(). Change-Id: Iaf2e31c32df0f73a3cc55c42afef3408387804fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848417 Commit-Queue: Eric Roman <[email protected]> Reviewed-by: Ryan Sleevi <[email protected]> Cr-Commit-Position: refs/heads/master@{#704285}
diff --git a/net/base/net_errors.h b/net/base/net_errors.h index f24540a..27d8f66 100644 --- a/net/base/net_errors.h +++ b/net/base/net_errors.h
@@ -38,7 +38,8 @@ NET_EXPORT std::string ExtendedErrorToString(int error, int extended_error_code); -// Returns true if |error| is a certificate error code. +// Returns true if |error| is a certificate error code. Note this does not +// include errors for client certificates. NET_EXPORT bool IsCertificateError(int error); // Returns true if |error| is a client certificate authentication error. This