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

Unified Diff: net/proxy/proxy_resolver_perftest.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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/proxy/proxy_resolver_perftest.cc
diff --git a/net/proxy/proxy_resolver_perftest.cc b/net/proxy/proxy_resolver_perftest.cc
index 8e3d720766a62a169ed5f777803e1f164d3d0156..89d36c70b36ae301fca38878f2cb375108160e65 100644
--- a/net/proxy/proxy_resolver_perftest.cc
+++ b/net/proxy/proxy_resolver_perftest.cc
@@ -133,9 +133,9 @@ class PacPerfSuiteRunner {
// the PAC script.
{
ProxyInfo proxy_info;
- int result =
- resolver->GetProxyForURL(GURL("http://www.warmup.com"), &proxy_info,
- CompletionCallback(), NULL, BoundNetLog());
+ int result = resolver->GetProxyForURL(GURL("http://www.warmup.com"),
+ &proxy_info, CompletionCallback(),
+ NULL, NetLogWithSource());
ASSERT_THAT(result, IsOk());
}
@@ -149,9 +149,9 @@ class PacPerfSuiteRunner {
// Resolve.
ProxyInfo proxy_info;
- int result =
- resolver->GetProxyForURL(GURL(query.query_url), &proxy_info,
- CompletionCallback(), NULL, BoundNetLog());
+ int result = resolver->GetProxyForURL(GURL(query.query_url), &proxy_info,
+ CompletionCallback(), NULL,
+ NetLogWithSource());
// Check that the result was correct. Note that ToPacString() and
// ASSERT_EQ() are fast, so they won't skew the results.
@@ -239,7 +239,7 @@ class ProxyResolverV8Wrapper : public ProxyResolver {
ProxyInfo* results,
const CompletionCallback& /*callback*/,
RequestHandle* /*request*/,
- const BoundNetLog& net_log) override {
+ const NetLogWithSource& net_log) override {
return resolver_->GetProxyForURL(url, results, bindings_.get());
}

Powered by Google App Engine
This is Rietveld 408576698