| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
|
| index fb91fd35e0146fc1695ca8b9f7e2b1fd02b73c58..57c9002bef7b7831fe86bc1627ccfa102384b79a 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
|
| @@ -5,11 +5,8 @@
|
| #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_METRICS_H_
|
| #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_METRICS_H_
|
|
|
| -#include <stdint.h>
|
| -
|
| #include <vector>
|
|
|
| -
|
| namespace net {
|
| class ProxyConfig;
|
| class URLRequest;
|
| @@ -19,10 +16,10 @@ class PrefService;
|
|
|
| namespace data_reduction_proxy {
|
|
|
| -typedef std::vector<long long> ContentLengthList;
|
| -
|
| class DataReductionProxyConfig;
|
|
|
| +typedef std::vector<long long> ContentLengthList;
|
| +
|
| // A bypass delay more than this is treated as a long delay.
|
| const int kLongBypassDelayInSeconds = 30 * 60;
|
|
|
| @@ -54,14 +51,6 @@ DataReductionProxyRequestType GetDataReductionProxyRequestType(
|
| const net::ProxyConfig& data_reduction_proxy_config,
|
| const DataReductionProxyConfig& config);
|
|
|
| -// Returns |received_content_length| as adjusted original content length if
|
| -// |original_content_length| has the invalid value (-1) or |request_type|
|
| -// is not |VIA_DATA_REDUCTION_PROXY|.
|
| -int64_t GetAdjustedOriginalContentLength(
|
| - DataReductionProxyRequestType request_type,
|
| - int64_t original_content_length,
|
| - int64_t received_content_length);
|
| -
|
| } // namespace data_reduction_proxy
|
|
|
| #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_METRICS_H_
|
|
|