summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 16:38:00 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-18 16:38:00 +0000
commit95d9c653d112f60af86b01614ebe9beafe4b4335 (patch)
tree625b5556565600f1b0c8207aa09aad5c47e586d7 /net/tools
parent1455ccf1ccef30ffc77f44ce34edd92e1faf9383 (diff)
downloadchromium_src-95d9c653d112f60af86b01614ebe9beafe4b4335.zip
chromium_src-95d9c653d112f60af86b01614ebe9beafe4b4335.tar.gz
chromium_src-95d9c653d112f60af86b01614ebe9beafe4b4335.tar.bz2
Added HostResolveImpl Requests and Jobs to log.
ConnectJobs point to the requests, Requests point back to ConnectJobs and to the DNS lookup they were attached to, if any. Also CONNECT_JOBs are now identified by their host/port on the Requests list. BUG= 46844 TEST= Look at the net-internals screen. Review URL: http://codereview.chromium.org/3080034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/fetch/fetch_client.cc3
-rw-r--r--net/tools/hresolv/hresolv.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/net/tools/fetch/fetch_client.cc b/net/tools/fetch/fetch_client.cc
index 15d6e16..933f676 100644
--- a/net/tools/fetch/fetch_client.cc
+++ b/net/tools/fetch/fetch_client.cc
@@ -136,7 +136,8 @@ int main(int argc, char**argv) {
MessageLoop loop(MessageLoop::TYPE_IO);
scoped_refptr<net::HostResolver> host_resolver(
- net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism));
+ net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
+ NULL));
scoped_refptr<net::ProxyService> proxy_service(
net::ProxyService::CreateNull());
diff --git a/net/tools/hresolv/hresolv.cc b/net/tools/hresolv/hresolv.cc
index d74cdf1..9528b73 100644
--- a/net/tools/hresolv/hresolv.cc
+++ b/net/tools/hresolv/hresolv.cc
@@ -451,7 +451,7 @@ int main(int argc, char** argv) {
base::TimeDelta::FromSeconds(0));
scoped_refptr<net::HostResolver> host_resolver(
- new net::HostResolverImpl(NULL, cache, 100u));
+ new net::HostResolverImpl(NULL, cache, 100u, NULL));
ResolverInvoker invoker(host_resolver.get());
invoker.ResolveAll(hosts_and_times, options.async);