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

Unified Diff: net/proxy/proxy_resolver_v8.cc

Issue 1746012: More cleanup of net_log.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
« no previous file with comments | « net/proxy/init_proxy_resolver.cc ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_v8.cc
===================================================================
--- net/proxy/proxy_resolver_v8.cc (revision 45828)
+++ net/proxy/proxy_resolver_v8.cc (working copy)
@@ -294,14 +294,14 @@
static_cast<Context*>(v8::External::Cast(*args.Data())->Value());
context->current_request_net_log_.BeginEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS);
+ NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS, NULL);
// We shouldn't be called with any arguments, but will not complain if
// we are.
std::string result = context->js_bindings_->MyIpAddress();
context->current_request_net_log_.EndEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS);
+ NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS, NULL);
if (result.empty())
result = "127.0.0.1";
@@ -315,14 +315,14 @@
static_cast<Context*>(v8::External::Cast(*args.Data())->Value());
context->current_request_net_log_.BeginEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS_EX);
+ NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS_EX, NULL);
// We shouldn't be called with any arguments, but will not complain if
// we are.
std::string result = context->js_bindings_->MyIpAddressEx();
context->current_request_net_log_.EndEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS_EX);
+ NetLog::TYPE_PROXY_RESOLVER_V8_MY_IP_ADDRESS_EX, NULL);
return StdStringToV8String(result);
}
@@ -342,12 +342,12 @@
}
context->current_request_net_log_.BeginEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE);
+ NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE, NULL);
std::string result = context->js_bindings_->DnsResolve(host);
context->current_request_net_log_.EndEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE);
+ NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE, NULL);
// DnsResolve() returns empty string on failure.
return result.empty() ? v8::Null() : StdStringToV8String(result);
@@ -368,12 +368,12 @@
}
context->current_request_net_log_.BeginEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE_EX);
+ NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE_EX, NULL);
std::string result = context->js_bindings_->DnsResolveEx(host);
context->current_request_net_log_.EndEvent(
- NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE_EX);
+ NetLog::TYPE_PROXY_RESOLVER_V8_DNS_RESOLVE_EX, NULL);
return StdStringToV8String(result);
}
« no previous file with comments | « net/proxy/init_proxy_resolver.cc ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698