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

Unified Diff: chrome/browser/net/connection_tester.cc

Issue 8965025: Refactoring of job dispatch in HostResolverImpl in preparation for DnsClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed NET_EXPORT_PRIVATE from template. Created 9 years 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
Index: chrome/browser/net/connection_tester.cc
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index 6aa1e9a8c438e6f5b932f00c4b2b88cb5ae5eaf4..4ccfd1f14c63d96868096bb40c738e2c48039c31 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -111,8 +111,11 @@ class ExperimentURLRequestContext : public net::URLRequestContext {
const size_t kMaxJobs = 50u;
const size_t kMaxRetryAttempts = 4u;
net::HostResolverImpl* impl =
- new net::HostResolverImpl(NULL, NULL, kMaxJobs, kMaxRetryAttempts,
- NULL);
+ new net::HostResolverImpl(
+ NULL /* HostCache */,
+ net::PriorityDispatch::Limits::MakeAny(kMaxJobs),
+ net::HostResolverImpl::ProcJobParams(NULL, kMaxRetryAttempts),
+ NULL /* NetLog */);
host_resolver->reset(impl);
« no previous file with comments | « no previous file | chrome/browser/net/passive_log_collector.h » ('j') | chrome/browser/resources/net_internals/events_view.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698