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

Unified Diff: net/base/network_delegate.cc

Issue 473513002: Keep track of network error in ProxyRetryInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor formatting. Created 6 years, 4 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/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 759175289b9c830525e2907f2950b9ce8a122f99..4981f142e6d47b95196c1df952e4908fc50e1563 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -30,10 +30,9 @@ void NetworkDelegate::NotifyResolveProxy(const GURL& url, int load_flags,
void NetworkDelegate::NotifyProxyFallback(
const ProxyServer& bad_proxy,
- int net_error,
- bool did_fallback) {
+ int net_error) {
DCHECK(CalledOnValidThread());
- OnProxyFallback(bad_proxy, net_error, did_fallback);
+ OnProxyFallback(bad_proxy, net_error);
}
int NetworkDelegate::NotifyBeforeSendHeaders(
@@ -175,8 +174,7 @@ void NetworkDelegate::OnResolveProxy(const GURL& url, int load_flags,
}
void NetworkDelegate::OnProxyFallback(const ProxyServer& bad_proxy,
- int net_error,
- bool did_fallback) {
+ int net_error) {
}
int NetworkDelegate::OnBeforeSendHeaders(URLRequest* request,

Powered by Google App Engine
This is Rietveld 408576698