summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_unittest.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-15 18:57:48 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-15 18:57:48 +0000
commit94486c00c7ee5ed1e9e4cb28f27ed447ffe20e96 (patch)
tree41f9fb0a0a88caa2fc73eba88c95253f374fc2da /net/url_request/url_request_unittest.h
parent1df8d42d4d36358480f3a9c86e22d43a3da36c53 (diff)
downloadchromium_src-94486c00c7ee5ed1e9e4cb28f27ed447ffe20e96.zip
chromium_src-94486c00c7ee5ed1e9e4cb28f27ed447ffe20e96.tar.gz
chromium_src-94486c00c7ee5ed1e9e4cb28f27ed447ffe20e96.tar.bz2
Make TCPClientSocketPool own the ConnectingSockets.
Re-enable the disabled URLRequest tests. BUG=http://crbug.com/13952 TEST=covered by existing tests Review URL: http://codereview.chromium.org/126065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_unittest.h')
-rw-r--r--net/url_request/url_request_unittest.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/url_request/url_request_unittest.h b/net/url_request/url_request_unittest.h
index fa676f8..eddb51d 100644
--- a/net/url_request/url_request_unittest.h
+++ b/net/url_request/url_request_unittest.h
@@ -43,10 +43,7 @@ using base::TimeDelta;
class TestURLRequestContext : public URLRequestContext {
public:
TestURLRequestContext() {
- // TODO(eroman): we turn off host caching to see if synchronous
- // host resolving interacts poorly with client socket pool. [experiment]
- // http://crbug.com/13952
- host_resolver_ = new net::HostResolver(0, 0);
+ host_resolver_ = new net::HostResolver;
proxy_service_ = net::ProxyService::CreateNull();
http_transaction_factory_ =
net::HttpNetworkLayer::CreateFactory(host_resolver_,