| Index: net/url_request/url_request_context_builder.h
|
| diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
|
| index 7d1923688d27c94f3d7478f0f34ee98bbcb7375c..8be03200084c29e860f601a54cb9d0da0f492891 100644
|
| --- a/net/url_request/url_request_context_builder.h
|
| +++ b/net/url_request/url_request_context_builder.h
|
| @@ -30,18 +30,6 @@ class URLRequestContext;
|
|
|
| class NET_EXPORT URLRequestContextBuilder {
|
| public:
|
| - struct NET_EXPORT HostResolverParams {
|
| - HostResolverParams();
|
| - ~HostResolverParams();
|
| -
|
| - // The limit on the number of parallel host resolutions.
|
| - size_t parallelism;
|
| -
|
| - // When the host resolution is taking too long, we'll retry this many times,
|
| - // in a backing off manner.
|
| - size_t retry_attempts;
|
| - };
|
| -
|
| struct NET_EXPORT HttpCacheParams {
|
| enum Type {
|
| IN_MEMORY,
|
| @@ -75,12 +63,6 @@ class NET_EXPORT URLRequestContextBuilder {
|
| user_agent_ = user_agent;
|
| }
|
|
|
| - // Allows for overriding the default HostResolver params.
|
| - void set_host_resolver_params(
|
| - const HostResolverParams& host_resolver_params) {
|
| - host_resolver_params_ = host_resolver_params;
|
| - }
|
| -
|
| // By default it's disabled.
|
| void set_ftp_enabled(bool enable) {
|
| ftp_enabled_ = enable;
|
| @@ -95,7 +77,6 @@ class NET_EXPORT URLRequestContextBuilder {
|
| private:
|
| std::string user_agent_;
|
| bool ftp_enabled_;
|
| - HostResolverParams host_resolver_params_;
|
| bool http_cache_enabled_;
|
| HttpCacheParams http_cache_params_;
|
| #if defined(OS_LINUX)
|
|
|