| Index: net/base/layered_network_delegate.cc
|
| diff --git a/net/base/layered_network_delegate.cc b/net/base/layered_network_delegate.cc
|
| index 24e3e246f489831abba29afbc2117790a98af1d5..914e62fdf893399765ae0b92bb941ed481c78fcb 100644
|
| --- a/net/base/layered_network_delegate.cc
|
| +++ b/net/base/layered_network_delegate.cc
|
| @@ -104,9 +104,10 @@ void LayeredNetworkDelegate::OnBeforeRedirectInternal(
|
| const GURL& new_location) {
|
| }
|
|
|
| -void LayeredNetworkDelegate::OnResponseStarted(URLRequest* request) {
|
| +void LayeredNetworkDelegate::OnResponseStarted(URLRequest* request,
|
| + int net_error) {
|
| OnResponseStartedInternal(request);
|
| - nested_network_delegate_->NotifyResponseStarted(request);
|
| + nested_network_delegate_->NotifyResponseStarted(request, net_error);
|
| }
|
|
|
| void LayeredNetworkDelegate::OnResponseStartedInternal(URLRequest* request) {
|
| @@ -131,14 +132,15 @@ void LayeredNetworkDelegate::OnNetworkBytesSent(URLRequest* request,
|
| void LayeredNetworkDelegate::OnNetworkBytesSentInternal(URLRequest* request,
|
| int64_t bytes_sent) {}
|
|
|
| -void LayeredNetworkDelegate::OnCompleted(URLRequest* request, bool started) {
|
| +void LayeredNetworkDelegate::OnCompleted(URLRequest* request,
|
| + bool started,
|
| + int net_error) {
|
| OnCompletedInternal(request, started);
|
| - nested_network_delegate_->NotifyCompleted(request, started);
|
| + nested_network_delegate_->NotifyCompleted(request, started, net_error);
|
| }
|
|
|
| void LayeredNetworkDelegate::OnCompletedInternal(URLRequest* request,
|
| - bool started) {
|
| -}
|
| + bool started) {}
|
|
|
| void LayeredNetworkDelegate::OnURLRequestDestroyed(URLRequest* request) {
|
| OnURLRequestDestroyedInternal(request);
|
|
|