diff options
-rw-r--r-- | net/url_request/url_request_context_builder.cc | 5 | ||||
-rw-r--r-- | net/url_request/url_request_context_builder.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc index 07b0d00..69038c5 100644 --- a/net/url_request/url_request_context_builder.cc +++ b/net/url_request/url_request_context_builder.cc @@ -173,9 +173,8 @@ URLRequestContextBuilder::HostResolverParams::HostResolverParams() URLRequestContextBuilder::HostResolverParams::~HostResolverParams() {} URLRequestContextBuilder::HttpCacheParams::HttpCacheParams() - : type(DISK), - max_size(0), - path(FILE_PATH_LITERAL("Cache")) {} + : type(IN_MEMORY), + max_size(0) {} URLRequestContextBuilder::HttpCacheParams::~HttpCacheParams() {} URLRequestContextBuilder::URLRequestContextBuilder() diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h index 2f2b66d..5d79998 100644 --- a/net/url_request/url_request_context_builder.h +++ b/net/url_request/url_request_context_builder.h @@ -52,7 +52,7 @@ class NET_EXPORT URLRequestContextBuilder { HttpCacheParams(); ~HttpCacheParams(); - // The type of HTTP cache. Default is DISK. + // The type of HTTP cache. Default is IN_MEMORY. Type type; // The max size of the cache in bytes. Default is algorithmically determined |