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

Unified Diff: net/base/network_delegate.cc

Issue 1735203002: Revert of Moving proxy resolution logic out of NetworkDelegate and into ProxyDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 8c23a5329424896f7e637312a22a113f6759d9cd..ff4ee88fa0b7ea23bb1d9eee57543146dd5f7739 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -24,6 +24,23 @@
FROM_HERE_WITH_EXPLICIT_FUNCTION(
"475753 NetworkDelegate::OnBeforeURLRequest"));
return OnBeforeURLRequest(request, callback, new_url);
+}
+
+void NetworkDelegate::NotifyResolveProxy(
+ const GURL& url,
+ int load_flags,
+ const ProxyService& proxy_service,
+ ProxyInfo* result) {
+ DCHECK(CalledOnValidThread());
+ DCHECK(result);
+ OnResolveProxy(url, load_flags, proxy_service, result);
+}
+
+void NetworkDelegate::NotifyProxyFallback(
+ const ProxyServer& bad_proxy,
+ int net_error) {
+ DCHECK(CalledOnValidThread());
+ OnProxyFallback(bad_proxy, net_error);
}
int NetworkDelegate::NotifyBeforeSendHeaders(
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698