Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: remoting/host/url_request_context.cc

Issue 10831277: [net] Change factory methods for HostResolver and HostCache to return a scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary initialization; respond to review Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_test_util.cc ('k') | sync/tools/sync_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/url_request_context.cc
diff --git a/remoting/host/url_request_context.cc b/remoting/host/url_request_context.cc
index 83ba3e97ad042cad304c2932ce9a87f08c93f213..6563939d5ae9a0d3de49dcc95e81132f0db9e498 100644
--- a/remoting/host/url_request_context.cc
+++ b/remoting/host/url_request_context.cc
@@ -83,9 +83,7 @@ URLRequestContext::URLRequestContext(
: ALLOW_THIS_IN_INITIALIZER_LIST(storage_(this)) {
scoped_ptr<VlogNetLog> net_log(new VlogNetLog());
storage_.set_host_resolver(
- net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
- net::HostResolver::kDefaultRetryAttempts,
- net_log.get()));
+ net::HostResolver::CreateDefaultResolver(net_log.get()));
storage_.set_proxy_service(net::ProxyService::CreateUsingSystemProxyResolver(
proxy_config_service.release(), 0u, net_log.get()));
storage_.set_cert_verifier(net::CertVerifier::CreateDefault());
« no previous file with comments | « net/url_request/url_request_test_util.cc ('k') | sync/tools/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698