diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 04:24:58 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 04:24:58 +0000 |
commit | 06ef6d985b07d87216bd926553e70261a073f8e4 (patch) | |
tree | 1a4dcc2d4f419e41e9f693292c9e4eaaa7b47a8e /net/proxy | |
parent | 3ad5e726639f2f03ba098d9acba459704fc598cc (diff) | |
download | chromium_src-06ef6d985b07d87216bd926553e70261a073f8e4.zip chromium_src-06ef6d985b07d87216bd926553e70261a073f8e4.tar.gz chromium_src-06ef6d985b07d87216bd926553e70261a073f8e4.tar.bz2 |
Revert of 85854 which is a revert of 85852 - Add a command line option
("host-resolver-retry-attempts") to specify the number of retry
attempts to resolve host.
Relanding CL http://codereview.chromium.org/7011044/
BUG=82580
TEST=host resolver unit tests
TBR=eroman
Review URL: http://codereview.chromium.org/7011044
Review URL: http://codereview.chromium.org/7029050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy')
-rw-r--r-- | net/proxy/proxy_script_fetcher_impl_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc index d1094bd..98fbd5e 100644 --- a/net/proxy/proxy_script_fetcher_impl_unittest.cc +++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc @@ -45,6 +45,7 @@ class RequestContext : public URLRequestContext { ProxyConfig no_proxy; storage_.set_host_resolver( CreateSystemHostResolver(HostResolver::kDefaultParallelism, + HostResolver::kDefaultRetryAttempts, NULL)); storage_.set_cert_verifier(new CertVerifier); storage_.set_proxy_service(ProxyService::CreateFixed(no_proxy)); |