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

Unified Diff: net/proxy/multi_threaded_proxy_resolver.cc

Issue 10534132: NetLogEventParameter to Callback refactoring 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove unneeded variable Created 8 years, 6 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 | « no previous file | net/proxy/multi_threaded_proxy_resolver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/multi_threaded_proxy_resolver.cc
===================================================================
--- net/proxy/multi_threaded_proxy_resolver.cc (revision 141995)
+++ net/proxy/multi_threaded_proxy_resolver.cc (working copy)
@@ -239,22 +239,19 @@
virtual void WaitingForThread() OVERRIDE {
was_waiting_for_thread_ = true;
- net_log_.BeginEvent(
- NetLog::TYPE_WAITING_FOR_PROXY_RESOLVER_THREAD, NULL);
+ net_log_.BeginEvent(NetLog::TYPE_WAITING_FOR_PROXY_RESOLVER_THREAD);
}
virtual void FinishedWaitingForThread() OVERRIDE {
DCHECK(executor());
if (was_waiting_for_thread_) {
- net_log_.EndEvent(
- NetLog::TYPE_WAITING_FOR_PROXY_RESOLVER_THREAD, NULL);
+ net_log_.EndEvent(NetLog::TYPE_WAITING_FOR_PROXY_RESOLVER_THREAD);
}
net_log_.AddEvent(
NetLog::TYPE_SUBMITTED_TO_RESOLVER_THREAD,
- make_scoped_refptr(new NetLogIntegerParameter(
- "thread_number", executor()->thread_number())));
+ NetLog::IntegerCallback("thread_number", executor()->thread_number()));
}
// Runs on the worker thread.
« no previous file with comments | « no previous file | net/proxy/multi_threaded_proxy_resolver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698