summaryrefslogtreecommitdiffstats
path: root/net/base/network_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/network_delegate.cc')
-rw-r--r--net/base/network_delegate.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 448f217..7591752 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -28,6 +28,14 @@ void NetworkDelegate::NotifyResolveProxy(const GURL& url, int load_flags,
OnResolveProxy(url, load_flags, result);
}
+void NetworkDelegate::NotifyProxyFallback(
+ const ProxyServer& bad_proxy,
+ int net_error,
+ bool did_fallback) {
+ DCHECK(CalledOnValidThread());
+ OnProxyFallback(bad_proxy, net_error, did_fallback);
+}
+
int NetworkDelegate::NotifyBeforeSendHeaders(
URLRequest* request, const CompletionCallback& callback,
HttpRequestHeaders* headers) {
@@ -166,6 +174,11 @@ void NetworkDelegate::OnResolveProxy(const GURL& url, int load_flags,
ProxyInfo* result) {
}
+void NetworkDelegate::OnProxyFallback(const ProxyServer& bad_proxy,
+ int net_error,
+ bool did_fallback) {
+}
+
int NetworkDelegate::OnBeforeSendHeaders(URLRequest* request,
const CompletionCallback& callback,
HttpRequestHeaders* headers) {