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 f36cea458de7a0cb5c20d8eb24ea3dcdcc72f9e1..33c717f128e5f64405316622c641b0ba938d3e2d 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|. |