summaryrefslogtreecommitdiffstats
path: root/net/base/dns_util.h
diff options
context:
space:
mode:
authoragayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 18:09:06 +0000
committeragayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 18:09:06 +0000
commit4b17cfa0da8eabbeae36e95ae993ad20a02308ba (patch)
tree8216d7a724a10f9cf7723f2c07b904a1c3511c2e /net/base/dns_util.h
parent60e5643d118305e76ec0f740396e7091476e7a09 (diff)
downloadchromium_src-4b17cfa0da8eabbeae36e95ae993ad20a02308ba.zip
chromium_src-4b17cfa0da8eabbeae36e95ae993ad20a02308ba.tar.gz
chromium_src-4b17cfa0da8eabbeae36e95ae993ad20a02308ba.tar.bz2
Added DnsQuery class
BUG=60149 TEST=dns_query_unittests Review URL: http://codereview.chromium.org/7008021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/dns_util.h')
-rw-r--r--net/base/dns_util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/dns_util.h b/net/base/dns_util.h
index 6c940c1..939a4a7 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.
NET_API std::string TrimEndingDot(const std::string& host);
+// DNS class types.
+static const uint16 kClassIN = 1;
+
// 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;