Remove NetworkDelegate::OnResolveProxy
It doesn't exist anymore
This commit is contained in:
parent
23eda6930a
commit
270fc41024
2 changed files with 1 additions and 14 deletions
|
@ -50,15 +50,6 @@ int NetworkDelegate::OnBeforeURLRequest(
|
||||||
return net::OK;
|
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(
|
int NetworkDelegate::OnBeforeSendHeaders(
|
||||||
net::URLRequest* request,
|
net::URLRequest* request,
|
||||||
const net::CompletionCallback& callback,
|
const net::CompletionCallback& callback,
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "net/base/network_delegate.h"
|
#include "net/base/network_delegate.h"
|
||||||
|
#include "net/proxy/proxy_server.h"
|
||||||
|
|
||||||
namespace brightray {
|
namespace brightray {
|
||||||
|
|
||||||
|
@ -21,11 +22,6 @@ class NetworkDelegate : public net::NetworkDelegate {
|
||||||
int OnBeforeURLRequest(net::URLRequest* request,
|
int OnBeforeURLRequest(net::URLRequest* request,
|
||||||
const net::CompletionCallback& callback,
|
const net::CompletionCallback& callback,
|
||||||
GURL* new_url) override;
|
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,
|
int OnBeforeSendHeaders(net::URLRequest* request,
|
||||||
const net::CompletionCallback& callback,
|
const net::CompletionCallback& callback,
|
||||||
net::HttpRequestHeaders* headers) override;
|
net::HttpRequestHeaders* headers) override;
|
||||||
|
|
Loading…
Reference in a new issue