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

Unified Diff: net/dns/dns_client.h

Issue 21368005: Detect domain-specific resolvers on OS X and disable DnsClient in such cases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responded to review Created 7 years, 4 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/base/net_log_event_type_list.h ('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
index 650c7d0d4166aee2f0591a4fb0edd6663474bdd0..0484d44c0c60f3f4a320c7215d69f6b440cdf63f 100644
--- a/net/dns/dns_client.h
+++ b/net/dns/dns_client.h
@@ -22,7 +22,8 @@ class NET_EXPORT DnsClient {
public:
virtual ~DnsClient() {}
- // Creates a new DnsTransactionFactory according to the new |config|.
+ // 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.
« no previous file with comments | « net/base/net_log_event_type_list.h ('k') | net/dns/dns_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698