commit | da475ceec40704f2d7acfc7ae207301031e83081 | [log] [tgz] |
---|---|---|
author | dalyk <[email protected]> | Fri Jan 17 23:45:36 2020 |
committer | Commit Bot <[email protected]> | Fri Jan 17 23:45:36 2020 |
tree | 670931b72f2d16c0aff7abe6748685276f9232eb | |
parent | 26f997d412cb3c55e69bcc29ef0df3da3da6a778 [diff] [blame] |
Display error page information specific to secure DNS on secure DNS errors. Bug: 1016325 Change-Id: I3779fbc45c4402448279b0553e237fd5e45ffe44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896335 Commit-Queue: Katharine Daly <[email protected]> Reviewed-by: Eugene But <[email protected]> Reviewed-by: Edward Jung (EMEA) <[email protected]> Reviewed-by: Eric Orth <[email protected]> Cr-Commit-Position: refs/heads/master@{#733073}
diff --git a/net/base/net_errors.h b/net/base/net_errors.h index 27d8f66..bbd870e 100644 --- a/net/base/net_errors.h +++ b/net/base/net_errors.h
@@ -47,8 +47,8 @@ // certificate. NET_EXPORT bool IsClientCertificateError(int error); -// Returns true if |error| is a DNS error. -NET_EXPORT bool IsDnsError(int error); +// Returns true if |error| is an error from hostname resolution. +NET_EXPORT bool IsHostnameResolutionError(int error); // Map system error code to Error. NET_EXPORT Error MapSystemError(logging::SystemErrorCode os_error);