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..f057517a72bb46e512aed9710b516fd6de099345 100644 |
--- a/net/base/layered_network_delegate.cc |
+++ b/net/base/layered_network_delegate.cc |
@@ -104,6 +104,13 @@ void LayeredNetworkDelegate::OnBeforeRedirectInternal( |
const GURL& new_location) { |
} |
+void LayeredNetworkDelegate::OnResponseStarted(URLRequest* request, |
+ int net_error) { |
+ OnResponseStartedInternal(request); |
+ nested_network_delegate_->NotifyResponseStarted(request, net_error); |
+} |
+ |
+// Deprecated |
void LayeredNetworkDelegate::OnResponseStarted(URLRequest* request) { |
OnResponseStartedInternal(request); |
nested_network_delegate_->NotifyResponseStarted(request); |
@@ -131,14 +138,21 @@ void LayeredNetworkDelegate::OnNetworkBytesSent(URLRequest* request, |
void LayeredNetworkDelegate::OnNetworkBytesSentInternal(URLRequest* request, |
int64_t bytes_sent) {} |
+void LayeredNetworkDelegate::OnCompleted(URLRequest* request, |
+ bool started, |
+ int net_error) { |
+ OnCompletedInternal(request, started); |
+ nested_network_delegate_->NotifyCompleted(request, started, net_error); |
+} |
+ |
+// Deprecated. |
void LayeredNetworkDelegate::OnCompleted(URLRequest* request, bool started) { |
OnCompletedInternal(request, started); |
nested_network_delegate_->NotifyCompleted(request, started); |
} |
void LayeredNetworkDelegate::OnCompletedInternal(URLRequest* request, |
- bool started) { |
-} |
+ bool started) {} |
void LayeredNetworkDelegate::OnURLRequestDestroyed(URLRequest* request) { |
OnURLRequestDestroyedInternal(request); |