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);