summaryrefslogtreecommitdiffstats
path: root/net/dns/dns_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dns/dns_response.h')
-rw-r--r--net/dns/dns_response.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dns/dns_response.h b/net/dns/dns_response.h
index 5ade458..fe80c30 100644
--- a/net/dns/dns_response.h
+++ b/net/dns/dns_response.h
@@ -81,7 +81,7 @@ class NET_EXPORT_PRIVATE DnsResponse {
public:
// Possible results from ParseToAddressList.
enum Result {
- DNS_SUCCESS = 0,
+ DNS_PARSE_OK = 0,
DNS_MALFORMED_RESPONSE, // DnsRecordParser failed before the end of
// packet.
DNS_MALFORMED_CNAME, // Could not parse CNAME out of RRDATA.
@@ -90,7 +90,7 @@ class NET_EXPORT_PRIVATE DnsResponse {
DNS_SIZE_MISMATCH, // Got an address but size does not match.
DNS_CNAME_AFTER_ADDRESS, // Found CNAME after an address record.
DNS_ADDRESS_TTL_MISMATCH, // TTL of all address records are not identical.
- DNS_NO_ADDRESSES, // No address records found.
+ DNS_NO_ADDRESSES, // OBSOLETE. No longer used.
// Only add new values here.
DNS_PARSE_RESULT_MAX, // Bounding value for histograms.
};