Index: components/data_use_measurement/core/data_use_network_delegate.cc |
diff --git a/components/data_use_measurement/core/data_use_network_delegate.cc b/components/data_use_measurement/core/data_use_network_delegate.cc |
index 87836dc9c4862ed0514f11d20f64aaf08feee778..0229787ffa26b8bc650e4a16e792d91e0d89ac58 100644 |
--- a/components/data_use_measurement/core/data_use_network_delegate.cc |
+++ b/components/data_use_measurement/core/data_use_network_delegate.cc |
@@ -41,6 +41,15 @@ void DataUseNetworkDelegate::OnBeforeRedirectInternal( |
data_use_measurement_.OnBeforeRedirect(*request, new_location); |
} |
+void DataUseNetworkDelegate::OnHeadersReceivedInternal( |
+ net::URLRequest* request, |
+ const net::CompletionCallback& callback, |
+ const net::HttpResponseHeaders* original_response_headers, |
+ scoped_refptr<net::HttpResponseHeaders>* override_response_headers, |
+ GURL* allowed_unsafe_redirect_url) { |
+ data_use_measurement_.OnHeadersReceived(request, original_response_headers); |
+} |
+ |
void DataUseNetworkDelegate::OnNetworkBytesReceivedInternal( |
net::URLRequest* request, |
int64_t bytes_received) { |