Index: net/base/net_errors.h |
diff --git a/net/base/net_errors.h b/net/base/net_errors.h |
index 4dc6042b65eb9abb8c1bf64268e29d30fb2d420f..29b7742f72185294377359fa1a27c768e0e8c1cd 100644 |
--- a/net/base/net_errors.h |
+++ b/net/base/net_errors.h |
@@ -39,6 +39,11 @@ NET_EXPORT std::string ErrorToShortString(int error); |
// Returns true if |error| is a certificate error code. |
NET_EXPORT bool IsCertificateError(int error); |
+// Returns true if |error| is a client certificate authentication error. This |
+// does not include ERR_SSL_PROTOCOL_ERROR which may also signal a bad client |
+// certificate. |
+NET_EXPORT bool IsClientCertificateError(int error); |
+ |
// Map system error code to Error. |
NET_EXPORT Error MapSystemError(int os_error); |