Index: net/base/network_delegate_impl.cc |
diff --git a/net/base/network_delegate_impl.cc b/net/base/network_delegate_impl.cc |
index fa573e9e80f079075fa5eaad4e306ba0378b07e0..8fb059d6fa45618124d8fe7b84ac9120c5aec286 100644 |
--- a/net/base/network_delegate_impl.cc |
+++ b/net/base/network_delegate_impl.cc |
@@ -41,21 +41,31 @@ int NetworkDelegateImpl::OnHeadersReceived( |
} |
void NetworkDelegateImpl::OnBeforeRedirect(URLRequest* request, |
- const GURL& new_location) { |
-} |
+ const GURL& new_location) {} |
-void NetworkDelegateImpl::OnResponseStarted(URLRequest* request) { |
+void NetworkDelegateImpl::OnResponseStarted(URLRequest* request, |
+ int net_error) { |
+ set_implemented(false); |
} |
+// Deprecated. |
+void NetworkDelegateImpl::OnResponseStarted(URLRequest* request) {} |
+ |
void NetworkDelegateImpl::OnNetworkBytesReceived(URLRequest* request, |
int64_t bytes_received) {} |
void NetworkDelegateImpl::OnNetworkBytesSent(URLRequest* request, |
int64_t bytes_sent) {} |
-void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) { |
+void NetworkDelegateImpl::OnCompleted(URLRequest* request, |
+ bool started, |
+ int net_error) { |
+ set_implemented(false); |
} |
+// Deprecated. |
+void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) {} |
+ |
void NetworkDelegateImpl::OnURLRequestDestroyed(URLRequest* request) { |
} |