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

Unified Diff: net/dns/dns_test_util.h

Issue 9190031: DnsClient refactoring + features (timeout, suffix search, server rotation). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed code review. Created 8 years, 11 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_test_util.h
diff --git a/net/dns/dns_test_util.h b/net/dns/dns_test_util.h
index c59a58fbba6532f10f294a542015475e0bfbf7bf..8365d544f20527b9275e00db138b8c1a9e920d65 100644
--- a/net/dns/dns_test_util.h
+++ b/net/dns/dns_test_util.h
@@ -6,28 +6,11 @@
#define NET_DNS_DNS_TEST_UTIL_H_
#pragma once
-#include <deque>
-#include <vector>
-
-#include "base/logging.h"
-#include "net/base/dns_util.h"
-#include "net/base/host_resolver.h"
-#include "net/base/ip_endpoint.h"
-#include "net/base/net_util.h"
+#include "base/basictypes.h"
#include "net/dns/dns_protocol.h"
namespace net {
-// A utility function for tests that given an array of IP literals,
-// converts it to an IPAddressList.
-bool ConvertStringsToIPAddressList(
- const char* const ip_strings[], size_t size, IPAddressList* address_list);
-
-// A utility function for tests that creates an IPEndPoint whose IP is
-// |ip_string| and whose port is |port| and stores it in |endpoint|.
-bool CreateDnsAddress(const char* ip_string, uint16 port, IPEndPoint* endpoint);
-
-static const char kDnsIp[] = "192.168.1.1";
static const uint16 kDnsPort = 53;
//-----------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698