From 52ae80c40de68f97f535d718fbbc086d5698c870 Mon Sep 17 00:00:00 2001 From: "eroman@chromium.org" Date: Thu, 10 Sep 2009 21:27:00 +0000 Subject: Add trace points for the "dnsResolve()" and "myIpAddress()" PAC javascript bindings. This makes note of the calls in the request's LoadLog. Since the LoadLog is not thread-safe, SingleThreadedProxyResolver creates a private LoadLog for ProxyResolverV8 to write into, and then copies it into the mainLoadLog on completion (on the origin thread). BUG=http://crbug.com/14478 Review URL: http://codereview.chromium.org/193037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25926 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_resolver_perftest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/proxy/proxy_resolver_perftest.cc') diff --git a/net/proxy/proxy_resolver_perftest.cc b/net/proxy/proxy_resolver_perftest.cc index efaf437..6e336e9 100644 --- a/net/proxy/proxy_resolver_perftest.cc +++ b/net/proxy/proxy_resolver_perftest.cc @@ -109,7 +109,7 @@ class PacPerfSuiteRunner { { net::ProxyInfo proxy_info; int result = resolver_->GetProxyForURL( - GURL("http://www.warmup.com"), &proxy_info, NULL, NULL); + GURL("http://www.warmup.com"), &proxy_info, NULL, NULL, NULL); ASSERT_EQ(net::OK, result); } @@ -124,7 +124,7 @@ class PacPerfSuiteRunner { // Resolve. net::ProxyInfo proxy_info; int result = resolver_->GetProxyForURL(GURL(query.query_url), - &proxy_info, NULL, NULL); + &proxy_info, NULL, NULL, NULL); // Check that the result was correct. Note that ToPacString() and // ASSERT_EQ() are fast, so they won't skew the results. -- cgit v1.1