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

Unified Diff: net/dns/host_resolver_impl.h

Issue 1088513004: Don't probe for IPv6 connectivity when resolving IPv6 literals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 8 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 | « no previous file | net/dns/host_resolver_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/host_resolver_impl.h
diff --git a/net/dns/host_resolver_impl.h b/net/dns/host_resolver_impl.h
index 35ecb0674c2736d069c9630f38c427108ee31d95..f2380f5fba7d49d1e28cce64c7358f76d3b8d455 100644
--- a/net/dns/host_resolver_impl.h
+++ b/net/dns/host_resolver_impl.h
@@ -15,6 +15,7 @@
#include "base/threading/non_thread_safe.h"
#include "base/time/time.h"
#include "net/base/net_export.h"
+#include "net/base/net_util.h"
#include "net/base/network_change_notifier.h"
#include "net/dns/host_cache.h"
#include "net/dns/host_resolver.h"
@@ -165,6 +166,7 @@ class NET_EXPORT HostResolverImpl
// incompatible, ERR_DNS_CACHE_MISS if entry was not found in cache and HOSTS.
int ResolveHelper(const Key& key,
const RequestInfo& info,
+ const IPAddressNumber* ip_address,
AddressList* addresses,
const BoundNetLog& request_net_log);
@@ -172,6 +174,7 @@ class NET_EXPORT HostResolverImpl
// succeeds, returns false otherwise.
bool ResolveAsIP(const Key& key,
const RequestInfo& info,
+ const IPAddressNumber* ip_address,
int* net_error,
AddressList* addresses);
@@ -196,6 +199,7 @@ class NET_EXPORT HostResolverImpl
// "effective" address family by inheriting the resolver's default address
// family when the request leaves it unspecified.
Key GetEffectiveKeyForRequest(const RequestInfo& info,
+ const IPAddressNumber* ip_number,
const BoundNetLog& net_log) const;
// Records the result in cache if cache is present.
« no previous file with comments | « no previous file | net/dns/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698