Chromium Code Reviews| Index: net/base/dns_util.h |
| diff --git a/net/base/dns_util.h b/net/base/dns_util.h |
| index 781c104e8262e8df8cb9c6cb0d8910330859c775..f08c06ad5e5134a9640a5667db9b2ef3e699128d 100644 |
| --- a/net/base/dns_util.h |
| +++ b/net/base/dns_util.h |
| @@ -31,13 +31,17 @@ NET_TEST bool IsSTD3ASCIIValidCharacter(char c); |
| // Returns the hostname by trimming the ending dot, if one exists. |
| std::string TrimEndingDot(const std::string& host); |
| +// DNS class types. |
| +static const uint16 kClassIN = 1; |
|
agl
2011/05/30 18:35:30
Since this has graduated to a header file I worry
agayev
2011/05/31 15:19:06
I will leave it as is for now.
|
| + |
| // DNS resource record types. See |
| // http://www.iana.org/assignments/dns-parameters |
| // WARNING: if you're adding any new values here you may need to add them to |
| // dnsrr_resolver.cc:DnsRRIsParsedByWindows. |
| - |
| +static const uint16 kDNS_A = 1; |
| static const uint16 kDNS_CNAME = 5; |
| static const uint16 kDNS_TXT = 16; |
| +static const uint16 kDNS_AAAA = 28; |
| static const uint16 kDNS_CERT = 37; |
| static const uint16 kDNS_DS = 43; |
| static const uint16 kDNS_RRSIG = 46; |