| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h
|
| index 411a123d9663a46bd1c2e6385d80db8b4359d6c9..4f524128fc57222c80654530017b39d759eb8091 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.h
|
| @@ -71,7 +71,7 @@ class DataReductionProxyTamperDetection {
|
| // response had been tampered with.
|
| static bool DetectAndReport(const net::HttpResponseHeaders* headers,
|
| bool scheme_is_https,
|
| - int content_length);
|
| + int64 content_length);
|
|
|
| // Tamper detection checks |response_headers|. Histogram events are reported
|
| // by |carrier_id|; |scheme_is_https| determines which histogram to report
|
| @@ -131,16 +131,16 @@ class DataReductionProxyTamperDetection {
|
| // |original_content_length| for future use, |original_content_length| cannot
|
| // be NULL.
|
| bool ValidateContentLength(const std::string& fingerprint,
|
| - int received_content_length,
|
| - int* original_content_length) const;
|
| + int64 received_content_length,
|
| + int64* original_content_length) const;
|
|
|
| // Reports UMA for tampering of the contents and the compression ratio. The
|
| // compression ratio is calculated from |content_length|, which is the
|
| // content length received by the Chromium client, and
|
| // |original_content_length|, which is the content length sent by the Data
|
| // Reduction Proxy.
|
| - void ReportUMAForContentLength(int content_length,
|
| - int original_content_length) const;
|
| + void ReportUMAForContentLength(int64 content_length,
|
| + int64 original_content_length) const;
|
|
|
| // Returns a string representation of |values|.
|
| static std::string ValuesToSortedString(std::vector<std::string>* values);
|
|
|