Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: net/dns/dns_response.h

Issue 10442098: [net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/dns/dns_response.h
diff --git a/net/dns/dns_response.h b/net/dns/dns_response.h
index 5ade458803b5fc21c3261fe53af28fbf27337c5a..5c059469035a2b72b63a1fed09f2018c343ebd26 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,6 @@ 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.
// Only add new values here.
mmenke 2012/08/13 20:11:50 To avoid messing up histograms, you should probabl
DNS_PARSE_RESULT_MAX, // Bounding value for histograms.
};

Powered by Google App Engine
This is Rietveld 408576698