summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 20:45:37 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-10 20:45:37 +0000
commit05cc20a79f29702afd8f787f30cab4b6de8b6c33 (patch)
treec037c651eaa5adf9569699b4fb5dc07bd82085b8 /net/url_request
parenta6e2213f050a1b1a10cf94161370df97bf9320e1 (diff)
downloadchromium_src-05cc20a79f29702afd8f787f30cab4b6de8b6c33.zip
chromium_src-05cc20a79f29702afd8f787f30cab4b6de8b6c33.tar.gz
chromium_src-05cc20a79f29702afd8f787f30cab4b6de8b6c33.tar.bz2
Check-in a script to visualize the host resolver traces.
Review URL: http://codereview.chromium.org/578026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38659 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request_view_net_internals_job.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/url_request/url_request_view_net_internals_job.cc b/net/url_request/url_request_view_net_internals_job.cc
index 0a2def7..15986f6 100644
--- a/net/url_request/url_request_view_net_internals_job.cc
+++ b/net/url_request/url_request_view_net_internals_job.cc
@@ -388,6 +388,11 @@ class HostResolverTraceSubSection : public SubSection {
scoped_refptr<net::LoadLog> log = resolver->GetRequestsTrace();
if (log) {
+ out->append(
+ "<p>To make sense of this trace, process it with the Python script "
+ "formatter.py at "
+ "<a href='http://src.chromium.org/viewvc/chrome/trunk/src/net/tools/"
+ "dns_trace_formatter/'>net/tools/dns_trace_formatter</a></p>");
OutputTextInPre(net::LoadLogUtil::PrettyPrintAsEventTree(log), out);
} else {
out->append("<p><i>No trace information, must enable tracing.</i></p>");