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

Unified Diff: net/url_request/url_request_job.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
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index 399f156ac5cc4af6c5f1b7c84274237c5f377925..a105d79907532487a15eddabe04be24ab253237b 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -340,10 +340,10 @@ class NET_EXPORT URLRequestJob
void SetProxyServer(const HostPortPair& proxy_server);
// The number of bytes read before passing to the filter.
- int prefilter_bytes_read() const { return prefilter_bytes_read_; }
+ int64 prefilter_bytes_read() const { return prefilter_bytes_read_; }
// The number of bytes read after passing through the filter.
- int postfilter_bytes_read() const { return postfilter_bytes_read_; }
+ int64 postfilter_bytes_read() const { return postfilter_bytes_read_; }
// Total number of bytes read from network (or cache) and typically handed
// to filter to process. Used to histogram compression ratios, and error
@@ -396,8 +396,8 @@ class NET_EXPORT URLRequestJob
// NotifyDone so that it is kept in sync with the request.
bool done_;
- int prefilter_bytes_read_;
- int postfilter_bytes_read_;
+ int64 prefilter_bytes_read_;
+ int64 postfilter_bytes_read_;
int64 filter_input_byte_count_;
mmenke 2015/04/10 20:43:50 Erm...wait...filter_input_byte_count_ and prefilte
sclittle 2015/04/10 20:59:13 Looks like you're right; I want to merge this CL i
// The data stream filter which is enabled on demand.
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698