From 270fc41024628b3e56507692ae0162e06c53a260 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Tue, 26 Apr 2016 22:19:42 -0400 Subject: [PATCH] Remove NetworkDelegate::OnResolveProxy It doesn't exist anymore --- brightray/browser/network_delegate.cc | 9 --------- brightray/browser/network_delegate.h | 6 +----- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/brightray/browser/network_delegate.cc b/brightray/browser/network_delegate.cc index a1795605562a..5e63a0c57c05 100644 --- a/brightray/browser/network_delegate.cc +++ b/brightray/browser/network_delegate.cc @@ -50,15 +50,6 @@ int NetworkDelegate::OnBeforeURLRequest( return net::OK; } -void NetworkDelegate::OnResolveProxy(const GURL& url, - int load_flags, - const net::ProxyService& proxy_service, - net::ProxyInfo* result) { -} - -void NetworkDelegate::OnProxyFallback(const net::ProxyServer& bad_proxy, int net_error) { -} - int NetworkDelegate::OnBeforeSendHeaders( net::URLRequest* request, const net::CompletionCallback& callback, diff --git a/brightray/browser/network_delegate.h b/brightray/browser/network_delegate.h index a561fc059024..bc2601886ac9 100644 --- a/brightray/browser/network_delegate.h +++ b/brightray/browser/network_delegate.h @@ -9,6 +9,7 @@ #include #include "net/base/network_delegate.h" +#include "net/proxy/proxy_server.h" namespace brightray { @@ -21,11 +22,6 @@ class NetworkDelegate : public net::NetworkDelegate { int OnBeforeURLRequest(net::URLRequest* request, const net::CompletionCallback& callback, GURL* new_url) override; - void OnResolveProxy(const GURL& url, - int load_flags, - const net::ProxyService& proxy_service, - net::ProxyInfo* result) override; - void OnProxyFallback(const net::ProxyServer& bad_proxy, int net_error) override; int OnBeforeSendHeaders(net::URLRequest* request, const net::CompletionCallback& callback, net::HttpRequestHeaders* headers) override;