From d16659fd251cabdfdbf456ab8a8e8aafdab410b3 Mon Sep 17 00:00:00 2001 From: "wtc@chromium.org" Date: Mon, 18 May 2009 16:47:32 +0000 Subject: Include C system headers before C++ system headers. Document that GetHostAndPort returns an IPv6 literal address with square brackets. Document that the host parameter to the ProxyServer constructor takes an IPv6 literal address with square brackets. R=eroman BUG=N/A TEST=N/A Review URL: http://codereview.chromium.org/113494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16287 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/proxy') diff --git a/net/proxy/proxy_server.h b/net/proxy/proxy_server.h index a3d5ca8..9060c39 100644 --- a/net/proxy/proxy_server.h +++ b/net/proxy/proxy_server.h @@ -29,6 +29,8 @@ class ProxyServer { // Constructs an invalid ProxyServer. ProxyServer() : scheme_(SCHEME_INVALID), port_(-1) {} + // If |host| is an IPv6 literal address, it must include the square + // brackets. ProxyServer(Scheme scheme, const std::string& host, int port) : scheme_(scheme), host_(host), port_(port) {} -- cgit v1.1