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

Unified Diff: net/proxy/proxy_list.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_list.cc
diff --git a/net/proxy/proxy_list.cc b/net/proxy/proxy_list.cc
index 464f795c15c93b10e9e13a6952970a6597442bc7..7e4613441d3e694c2a909e70ea250fc925851043 100644
--- a/net/proxy/proxy_list.cc
+++ b/net/proxy/proxy_list.cc
@@ -154,7 +154,7 @@ std::unique_ptr<base::ListValue> ProxyList::ToValue() const {
bool ProxyList::Fallback(ProxyRetryInfoMap* proxy_retry_info,
int net_error,
- const BoundNetLog& net_log) {
+ const NetLogWithSource& net_log) {
// TODO(eroman): It would be good if instead of removing failed proxies
// from the list, we simply annotated them with the error code they failed
// with. Of course, ProxyService::ReconsiderProxyAfterError() would need to
@@ -187,7 +187,7 @@ void ProxyList::AddProxyToRetryList(ProxyRetryInfoMap* proxy_retry_info,
bool try_while_bad,
const ProxyServer& proxy_to_retry,
int net_error,
- const BoundNetLog& net_log) const {
+ const NetLogWithSource& net_log) const {
// Mark this proxy as bad.
TimeTicks bad_until = TimeTicks::Now() + retry_delay;
std::string proxy_key = proxy_to_retry.ToURI();
@@ -210,7 +210,7 @@ void ProxyList::UpdateRetryInfoOnFallback(
bool reconsider,
const std::vector<ProxyServer>& additional_proxies_to_bypass,
int net_error,
- const BoundNetLog& net_log) const {
+ const NetLogWithSource& net_log) const {
DCHECK(!retry_delay.is_zero());
if (proxies_.empty()) {

Powered by Google App Engine
This is Rietveld 408576698