diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-07 06:40:06 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-07 06:40:06 +0000 |
commit | 68abc22003015ced6e49012be439c27b81232432 (patch) | |
tree | cb562dc98c5002656e7ed91f60373cd7312d8ba6 /net/base/net_util.h | |
parent | 304356e13d4e4e081408ccaf417e67433b1b8ba7 (diff) | |
download | chromium_src-68abc22003015ced6e49012be439c27b81232432.zip chromium_src-68abc22003015ced6e49012be439c27b81232432.tar.gz chromium_src-68abc22003015ced6e49012be439c27b81232432.tar.bz2 |
Add IPv6 probing support, and disable IPv6 resolution when it is useless
I've added minimal probing to check if IPv6 is at all possible, and when
it is not, then we disable IPv6 resolution.
I've also added histograms and A/B test support to evaluate the impact of
this change.
r=wtc,eroman
Review URL: http://codereview.chromium.org/579010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r-- | net/base/net_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h index d9affe6..7598fd0 100644 --- a/net/base/net_util.h +++ b/net/base/net_util.h @@ -283,6 +283,9 @@ GURL SimplifyUrlForRequest(const GURL& url); void SetExplicitlyAllowedPorts(const std::wstring& allowed_ports); +// Test to see if IPv6 is supported. +bool IPv6Supported(); + } // namespace net #endif // NET_BASE_NET_UTIL_H_ |