diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 16:47:32 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 16:47:32 +0000 |
commit | d16659fd251cabdfdbf456ab8a8e8aafdab410b3 (patch) | |
tree | b9401af97751466c9ca85829c4362788af2b16b1 /net/proxy | |
parent | 369517f7c31667580be73190d153eaef73305263 (diff) | |
download | chromium_src-d16659fd251cabdfdbf456ab8a8e8aafdab410b3.zip chromium_src-d16659fd251cabdfdbf456ab8a8e8aafdab410b3.tar.gz chromium_src-d16659fd251cabdfdbf456ab8a8e8aafdab410b3.tar.bz2 |
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
Diffstat (limited to 'net/proxy')
-rw-r--r-- | net/proxy/proxy_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) {} |