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

Unified Diff: net/proxy/proxy_service.cc

Issue 9585026: Add a source id to global NetLog entries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Missed one Created 8 years, 9 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/proxy_resolver_js_bindings_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_service.cc
===================================================================
--- net/proxy/proxy_service.cc (revision 126769)
+++ net/proxy/proxy_service.cc (working copy)
@@ -1265,12 +1265,10 @@
existing->second.bad_until = iter->second.bad_until;
}
if (net_log_) {
- net_log_->AddEntry(NetLog::TYPE_BAD_PROXY_LIST_REPORTED,
- TimeTicks::Now(),
- NetLog::Source(),
- NetLog::PHASE_NONE,
- make_scoped_refptr(
- new BadProxyListNetLogParam(new_retry_info)));
+ net_log_->AddGlobalEntry(
+ NetLog::TYPE_BAD_PROXY_LIST_REPORTED,
+ make_scoped_refptr(
+ new BadProxyListNetLogParam(new_retry_info)));
}
}
@@ -1473,11 +1471,8 @@
if (net_log_) {
scoped_refptr<NetLog::EventParameters> params(
new ProxyConfigChangedNetLogParam(fetched_config_, effective_config));
- net_log_->AddEntry(net::NetLog::TYPE_PROXY_CONFIG_CHANGED,
- TimeTicks::Now(),
- NetLog::Source(),
- NetLog::PHASE_NONE,
- params);
+ net_log_->AddGlobalEntry(net::NetLog::TYPE_PROXY_CONFIG_CHANGED,
+ params);
}
// Set the new configuration as the most recently fetched one.
« no previous file with comments | « net/proxy/proxy_resolver_js_bindings_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698