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

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: Delinted. 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
« no previous file with comments | « net/dns/dns_session.cc ('k') | net/dns/dns_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e1fc9fe6fac9d2f12d3775e4d11615b53826581d 100644
--- a/net/dns/dns_test_util.h
+++ b/net/dns/dns_test_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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;
//-----------------------------------------------------------------------------
« no previous file with comments | « net/dns/dns_session.cc ('k') | net/dns/dns_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698