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

Unified Diff: net/base/layered_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/layered_network_delegate.h ('k') | net/base/layered_network_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/layered_network_delegate.cc
diff --git a/net/base/layered_network_delegate.cc b/net/base/layered_network_delegate.cc
index d97496205f92e78029e7eb7e023e9f782efaf560..9fe37196ccdaa73c3635baf863f3a1aaffce072c 100644
--- a/net/base/layered_network_delegate.cc
+++ b/net/base/layered_network_delegate.cc
@@ -28,6 +28,33 @@
URLRequest* request,
const CompletionCallback& callback,
GURL* new_url) {
+}
+
+void LayeredNetworkDelegate::OnResolveProxy(const GURL& url,
+ int load_flags,
+ const ProxyService& proxy_service,
+ ProxyInfo* result) {
+ OnResolveProxyInternal(url, load_flags, proxy_service, result);
+ nested_network_delegate_->NotifyResolveProxy(url, load_flags, proxy_service,
+ result);
+}
+
+void LayeredNetworkDelegate::OnResolveProxyInternal(
+ const GURL& url,
+ int load_flags,
+ const ProxyService& proxy_service,
+ ProxyInfo* result) {
+}
+
+void LayeredNetworkDelegate::OnProxyFallback(const ProxyServer& bad_proxy,
+ int net_error) {
+ OnProxyFallbackInternal(bad_proxy, net_error);
+ nested_network_delegate_->NotifyProxyFallback(bad_proxy, net_error);
+}
+
+void LayeredNetworkDelegate::OnProxyFallbackInternal(
+ const ProxyServer& bad_proxy,
+ int net_error) {
}
int LayeredNetworkDelegate::OnBeforeSendHeaders(
« no previous file with comments | « net/base/layered_network_delegate.h ('k') | net/base/layered_network_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698