diff options
Diffstat (limited to 'net/dns/dns_test_util.cc')
-rw-r--r-- | net/dns/dns_test_util.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/dns/dns_test_util.cc b/net/dns/dns_test_util.cc index ac63131..a396252 100644 --- a/net/dns/dns_test_util.cc +++ b/net/dns/dns_test_util.cc @@ -8,20 +8,6 @@ namespace net { -TestPrng::TestPrng(const std::deque<int>& numbers) : numbers_(numbers) { -} - -TestPrng::~TestPrng() { -} - -int TestPrng::GetNext(int min, int max) { - DCHECK(!numbers_.empty()); - int rv = numbers_.front(); - numbers_.pop_front(); - DCHECK(rv >= min && rv <= max); - return rv; -} - bool ConvertStringsToIPAddressList( const char* const ip_strings[], size_t size, IPAddressList* address_list) { DCHECK(address_list); |