Remove NetworkDelegate::OnResolveProxy

It doesn't exist anymore
This commit is contained in:
Brian R. Bondy 2016-04-26 22:19:42 -04:00 committed by Cheng Zhao
parent 23eda6930a
commit 270fc41024
2 changed files with 1 additions and 14 deletions

View file

@ -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,

View file

@ -9,6 +9,7 @@
#include <vector>
#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;