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

Unified Diff: net/dns/dns_client.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/address_sorter_win.cc ('k') | net/dns/dns_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_client.h
diff --git a/net/dns/dns_client.h b/net/dns/dns_client.h
deleted file mode 100644
index 0484d44c0c60f3f4a320c7215d69f6b440cdf63f..0000000000000000000000000000000000000000
--- a/net/dns/dns_client.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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.
-
-#ifndef NET_DNS_DNS_CLIENT_H_
-#define NET_DNS_DNS_CLIENT_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "net/base/net_export.h"
-
-namespace net {
-
-class AddressSorter;
-struct DnsConfig;
-class DnsTransactionFactory;
-class NetLog;
-
-// Convenience wrapper which allows easy injection of DnsTransaction into
-// HostResolverImpl. Pointers returned by the Get* methods are only guaranteed
-// to remain valid until next time SetConfig is called.
-class NET_EXPORT DnsClient {
- public:
- virtual ~DnsClient() {}
-
- // Destroys the current DnsTransactionFactory and creates a new one
- // according to |config|, unless it is invalid or has |unhandled_options|.
- virtual void SetConfig(const DnsConfig& config) = 0;
-
- // Returns NULL if the current config is not valid.
- virtual const DnsConfig* GetConfig() const = 0;
-
- // Returns NULL if the current config is not valid.
- virtual DnsTransactionFactory* GetTransactionFactory() = 0;
-
- // Returns NULL if the current config is not valid.
- virtual AddressSorter* GetAddressSorter() = 0;
-
- // Creates default client.
- static scoped_ptr<DnsClient> CreateClient(NetLog* net_log);
-};
-
-} // namespace net
-
-#endif // NET_DNS_DNS_CLIENT_H_
-
« no previous file with comments | « net/dns/address_sorter_win.cc ('k') | net/dns/dns_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698