Index: net/base/network_delegate_impl.h |
diff --git a/net/base/network_delegate_impl.h b/net/base/network_delegate_impl.h |
index b2d56c770d5d802960ee2bf520162acd32115951..88ff64044fb03b33485a865b1ef083410a73008d 100644 |
--- a/net/base/network_delegate_impl.h |
+++ b/net/base/network_delegate_impl.h |
@@ -104,6 +104,8 @@ class NET_EXPORT NetworkDelegateImpl : public NetworkDelegate { |
void OnBeforeRedirect(URLRequest* request, const GURL& new_location) override; |
// This corresponds to URLRequestDelegate::OnResponseStarted. |
+ void OnResponseStarted(URLRequest* request, int net_error) override; |
+ // Deprecated. |
void OnResponseStarted(URLRequest* request) override; |
// Called when bytes are received from the network, such as after receiving |
@@ -129,6 +131,8 @@ class NET_EXPORT NetworkDelegateImpl : public NetworkDelegate { |
// Indicates that the URL request has been completed or failed. |
// |started| indicates whether the request has been started. If false, |
// some information like the socket address is not available. |
+ void OnCompleted(URLRequest* request, bool started, int net_error) override; |
+ // Deprecated. |
void OnCompleted(URLRequest* request, bool started) override; |
// Called when an URLRequest is being destroyed. Note that the request is |