Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
index f32107bc5e19d516052fd5262d074b06a2370e9f..600445d9eb1079fed6241188e3fbb880ee2307e1 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
@@ -115,6 +115,15 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate { |
void OnCompletedInternal(net::URLRequest* request, |
bool started) override; |
+ // Checks if a LoFi or Lite Pages response was received and sets the state on |
+ // DataReductionProxyData for |request|. |
+ void 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) override; |
+ |
// Calculates actual data usage that went over the network at the HTTP layer |
// (e.g. not including network layer overhead) and estimates original data |
// usage for |request|. |