Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
index d8e632de59cf47cc0e36059c93c1e3df6b2ee781..bdb0d476a71afd95298b865bef4012cede5b5a08 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
@@ -65,17 +65,4 @@ DataReductionProxyRequestType GetDataReductionProxyRequestType( |
return UNKNOWN_TYPE; |
} |
-int64_t GetAdjustedOriginalContentLength( |
- DataReductionProxyRequestType request_type, |
- int64_t original_content_length, |
- int64_t received_content_length) { |
- // Since there was no indication of the original content length, presume |
- // it is no different from the number of bytes read. |
- if (original_content_length == -1 || |
- request_type != VIA_DATA_REDUCTION_PROXY) { |
- return received_content_length; |
- } |
- return original_content_length; |
-} |
- |
} // namespace data_reduction_proxy |