Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h

Issue 1074293003: Use int64 instead of int32 for response sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reuploading to try to fix corrupt issue Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
index 297f810093c9efc43c986125f539b30aadc65c9b..d1e3bf2865d8a7284710d2514a39474b76f94087 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
@@ -47,8 +47,8 @@ class DataReductionProxyCompressionStats {
// Records daily data savings statistics to prefs and reports data savings
// UMA.
- void UpdateContentLengths(int received_content_length,
- int original_content_length,
+ void UpdateContentLengths(int64 received_content_length,
+ int64 original_content_length,
bool data_reduction_proxy_enabled,
DataReductionProxyRequestType request_type);
@@ -126,12 +126,11 @@ class DataReductionProxyCompressionStats {
int64 GetListPrefInt64Value(const base::ListValue& list_update, size_t index);
// Records content length updates to prefs.
- void RecordContentLengthPrefs(
- int received_content_length,
- int original_content_length,
- bool with_data_reduction_proxy_enabled,
- DataReductionProxyRequestType request_type,
- base::Time now);
+ void RecordContentLengthPrefs(int64 received_content_length,
+ int64 original_content_length,
+ bool with_data_reduction_proxy_enabled,
+ DataReductionProxyRequestType request_type,
+ base::Time now);
PrefService* pref_service_;
scoped_refptr<base::SequencedTaskRunner> task_runner_;

Powered by Google App Engine
This is Rietveld 408576698