Update NetworkDelegate for Chrome 35
This commit is contained in:
parent
3a71958e16
commit
afc889b883
2 changed files with 4 additions and 10 deletions
|
@ -37,7 +37,8 @@ int NetworkDelegate::OnHeadersReceived(
|
|||
net::URLRequest* request,
|
||||
const net::CompletionCallback& callback,
|
||||
const net::HttpResponseHeaders* original_response_headers,
|
||||
scoped_refptr<net::HttpResponseHeaders>* override_response_headers) {
|
||||
scoped_refptr<net::HttpResponseHeaders>* override_response_headers,
|
||||
GURL* allowed_unsafe_redirect_url) {
|
||||
return net::OK;
|
||||
}
|
||||
|
||||
|
@ -97,9 +98,4 @@ int NetworkDelegate::OnBeforeSocketStreamConnect(
|
|||
return net::OK;
|
||||
}
|
||||
|
||||
void NetworkDelegate::OnRequestWaitStateChange(
|
||||
const net::URLRequest& request,
|
||||
RequestWaitState waiting) {
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
|
@ -27,8 +27,8 @@ class NetworkDelegate : public net::NetworkDelegate {
|
|||
net::URLRequest* request,
|
||||
const net::CompletionCallback& callback,
|
||||
const net::HttpResponseHeaders* original_response_headers,
|
||||
scoped_refptr<net::HttpResponseHeaders>*
|
||||
override_response_headers) OVERRIDE;
|
||||
scoped_refptr<net::HttpResponseHeaders>* override_response_headers,
|
||||
GURL* allowed_unsafe_redirect_url) OVERRIDE;
|
||||
virtual void OnBeforeRedirect(net::URLRequest* request,
|
||||
const GURL& new_location) OVERRIDE;
|
||||
virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
|
||||
|
@ -55,8 +55,6 @@ class NetworkDelegate : public net::NetworkDelegate {
|
|||
virtual int OnBeforeSocketStreamConnect(
|
||||
net::SocketStream* stream,
|
||||
const net::CompletionCallback& callback) OVERRIDE;
|
||||
virtual void OnRequestWaitStateChange(const net::URLRequest& request,
|
||||
RequestWaitState state) OVERRIDE;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(NetworkDelegate);
|
||||
|
|
Loading…
Reference in a new issue