summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_layer.cc
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-30 18:47:16 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-30 18:47:16 +0000
commit332ff119039b7dd3ba3d1994dde0b077f015bc03 (patch)
tree5d6ac0ad34e0a53d213fbefebf28e79668a67338 /net/http/http_network_layer.cc
parent38993f6f15fb7b12ee4c973910369dc82a1a5595 (diff)
downloadchromium_src-332ff119039b7dd3ba3d1994dde0b077f015bc03.zip
chromium_src-332ff119039b7dd3ba3d1994dde0b077f015bc03.tar.gz
chromium_src-332ff119039b7dd3ba3d1994dde0b077f015bc03.tar.bz2
Initial Mac proxy implementation
Review URL: http://codereview.chromium.org/8671 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer.cc')
-rw-r--r--net/http/http_network_layer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
index 1aaa226..9822998 100644
--- a/net/http/http_network_layer.cc
+++ b/net/http/http_network_layer.cc
@@ -13,6 +13,8 @@
#if defined(OS_WIN)
#include "net/http/http_transaction_winhttp.h"
#include "net/proxy/proxy_resolver_winhttp.h"
+#elif defined(OS_MACOSX)
+#include "net/proxy/proxy_resolver_mac.h"
#endif
namespace net {
@@ -51,6 +53,8 @@ HttpNetworkLayer::HttpNetworkLayer(const ProxyInfo* pi)
} else {
#if defined(OS_WIN)
proxy_resolver_.reset(new ProxyResolverWinHttp());
+#elif defined(OS_MACOSX)
+ proxy_resolver_.reset(new ProxyResolverMac());
#else
NOTIMPLEMENTED();
proxy_resolver_.reset(new ProxyResolverNull());