diff options
author | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-11 00:02:55 +0000 |
---|---|---|
committer | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-11 00:02:55 +0000 |
commit | b724f3786865dfced66d18f52f0db08c17d38ebc (patch) | |
tree | 23e1ca8d9c5fbb662d53407e10ab318187332f79 /net/dns/dns_test_util.h | |
parent | 994df2e780b0cbb56dbb3b5ef67f0f36cbf4a715 (diff) | |
download | chromium_src-b724f3786865dfced66d18f52f0db08c17d38ebc.zip chromium_src-b724f3786865dfced66d18f52f0db08c17d38ebc.tar.gz chromium_src-b724f3786865dfced66d18f52f0db08c17d38ebc.tar.bz2 |
[net/dns] Fixes to DnsConfigServiceWin
Reject empty string16 early to avoid exception when converting to string.
Default to 53, if port is not set.
Fix CreateAdapterAddresses for the case there is more than one address.
BUG=113692, 113693
TEST=./net_unittest --gtest_filter=DnsConfigService*
Review URL: http://codereview.chromium.org/9384009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/dns/dns_test_util.h')
-rw-r--r-- | net/dns/dns_test_util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dns/dns_test_util.h b/net/dns/dns_test_util.h index e1fc9fe..6c29058 100644 --- a/net/dns/dns_test_util.h +++ b/net/dns/dns_test_util.h @@ -11,8 +11,6 @@ namespace net { -static const uint16 kDnsPort = 53; - //----------------------------------------------------------------------------- // Query/response set for www.google.com, ID is fixed to 0. static const char kT0HostName[] = "www.google.com"; |