summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_server.h
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 22:20:22 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-19 22:20:22 +0000
commit0603139039825ae34f1c9f659827eb78dada2728 (patch)
treec49a2a98a493cedca91e72fbb9d4e71b07b8c6df /net/proxy/proxy_server.h
parent2ba1c6cfc414c52b3798e18de01ecf24ae8c5e59 (diff)
downloadchromium_src-0603139039825ae34f1c9f659827eb78dada2728.zip
chromium_src-0603139039825ae34f1c9f659827eb78dada2728.tar.gz
chromium_src-0603139039825ae34f1c9f659827eb78dada2728.tar.bz2
Include entries for SOCKS in ProxyResolverMac.
Review URL: http://codereview.chromium.org/20489 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_server.h')
-rw-r--r--net/proxy/proxy_server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/proxy/proxy_server.h b/net/proxy/proxy_server.h
index 59f0718..45db1fc 100644
--- a/net/proxy/proxy_server.h
+++ b/net/proxy/proxy_server.h
@@ -98,6 +98,10 @@ class ProxyServer {
// Format as a PAC result entry. This does the reverse of FromPacString().
std::string ToPacString() const;
+
+ // Returns the default port number for a proxy server with the specified
+ // scheme. Returns -1 if unknown.
+ static int GetDefaultPortForScheme(Scheme scheme);
private:
// Create a ProxyServer given a scheme, and host/port string. If parsing the