summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.cc
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 07:02:09 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-15 07:02:09 +0000
commit40fc7815b1e017cbeb31a7773f4c61bae4677bf6 (patch)
tree0db93d54fc6fb87eeafcefb16543509ac76e71e3 /net/proxy/proxy_service.cc
parent515838ce76cb8bec7f51f6143cac74f113e247ad (diff)
downloadchromium_src-40fc7815b1e017cbeb31a7773f4c61bae4677bf6.zip
chromium_src-40fc7815b1e017cbeb31a7773f4c61bae4677bf6.tar.gz
chromium_src-40fc7815b1e017cbeb31a7773f4c61bae4677bf6.tar.bz2
post-winhttp cleanup: remove a todo.
Review URL: http://codereview.chromium.org/18219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.cc')
-rw-r--r--net/proxy/proxy_service.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index 06141f6..f1c9865 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -293,15 +293,7 @@ ProxyService* ProxyService::Create(const ProxyInfo* pi) {
if (pi) {
// The ProxyResolver is set to NULL, since it should never be called
// (because the configuration will never require PAC).
- ProxyService* proxy_service =
- new ProxyService(new ProxyConfigServiceFixed(*pi), NULL);
-
- // TODO(eroman): remove this WinHTTP hack once it is no more.
- // We keep a copy of the ProxyInfo that was used to create the
- // proxy service, so we can pass it to WinHTTP.
- proxy_service->proxy_info_.reset(new ProxyInfo(*pi));
-
- return proxy_service;
+ return new ProxyService(new ProxyConfigServiceFixed(*pi), NULL);
}
#if defined(OS_WIN)
return new ProxyService(new ProxyConfigServiceWin(),