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

Unified Diff: net/dns/host_resolver_impl.h

Issue 19498003: [net/dns] Perform A/AAAA queries for AF_UNSPEC resolutions in parallel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 7 years, 4 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
Index: net/dns/host_resolver_impl.h
===================================================================
--- net/dns/host_resolver_impl.h (revision 218544)
+++ net/dns/host_resolver_impl.h (working copy)
@@ -225,8 +225,10 @@
// and resulted in |net_error|.
void OnDnsTaskResolve(int net_error);
- // Allows the tests to catch slots leaking out of the dispatcher.
- size_t num_running_jobs_for_tests() const {
+ // Allows the tests to catch slots leaking out of the dispatcher. One
+ // HostResolverImpl::Job could occupy multiple PrioritizedDispatcher job
+ // slots.
+ size_t num_running_dispatcher_jobs_for_tests() const {
return dispatcher_.num_running_jobs();
}

Powered by Google App Engine
This is Rietveld 408576698