diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 00:37:37 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 00:37:37 +0000 |
commit | 243a8eeb4a5b7421cf2cc66ed77e8480a41bfc43 (patch) | |
tree | 4917fff31e68f31b2358ae5a79e5c0df048f296d /net/base/host_resolver.h | |
parent | 542cc177b9a20f9d7dc66c3c030bbaa54637642e (diff) | |
download | chromium_src-243a8eeb4a5b7421cf2cc66ed77e8480a41bfc43.zip chromium_src-243a8eeb4a5b7421cf2cc66ed77e8480a41bfc43.tar.gz chromium_src-243a8eeb4a5b7421cf2cc66ed77e8480a41bfc43.tar.bz2 |
Revert 85852 - Add a command line option ("host-resolver-retry-attempts")
to specify the number of retry attempts to resolve host.
BUG=82580
TEST=host resolver unit tests
R=eroman
Review URL: http://codereview.chromium.org/7011044
TBR=rtenneti@chromium.org
Review URL: http://codereview.chromium.org/7044027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r-- | net/base/host_resolver.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index 637e671..3148697 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -132,11 +132,6 @@ class NET_API HostResolver { // concurrency. static const size_t kDefaultParallelism = 0; - // This value can be passed into CreateSystemHostResolver as the - // |max_retry_attempts| parameter. This is the maximum number of times we - // will retry for host resolution. - static const size_t kDefaultRetryAttempts = -1; - // If any completion callbacks are pending when the resolver is destroyed, // the host resolutions are cancelled, and the completion callbacks will not // be called. @@ -247,11 +242,7 @@ class SingleRequestHostResolver { // |max_concurrent_resolves| is how many resolve requests will be allowed to // run in parallel. Pass HostResolver::kDefaultParallelism to choose a // default value. -// |max_retry_attempts| is the maximum number of times we will retry for host -// resolution. Pass HostResolver::kDefaultRetryAttempts to choose a default -// value. NET_API HostResolver* CreateSystemHostResolver(size_t max_concurrent_resolves, - size_t max_retry_attempts, NetLog* net_log); } // namespace net |