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

Unified Diff: net/url_request/url_request_job.h

Issue 1080763003: Remove URLRequestJob::filter_input_byte_count_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: 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..ec955a4cd586d80c7598e6253a7c8ff58234f7af 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -339,17 +339,14 @@ class NET_EXPORT URLRequestJob
// Set the proxy server that was used, if any.
void SetProxyServer(const HostPortPair& proxy_server);
- // The number of bytes read before passing to the filter.
+ // The number of bytes read before passing to the filter. Include bytes
+ // when there is no filter.
Randy Smith (Not in Mondays) 2015/04/10 22:03:58 nit: This doesn't feel like a complete sentence to
mmenke 2015/04/10 22:36:49 Done.
int prefilter_bytes_read() const { return prefilter_bytes_read_; }
- // The number of bytes read after passing through the filter.
+ // The number of bytes read after passing through the filter. Include bytes
+ // when there is no filter.
int 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
- // recovery scenarios in filters.
- int64 filter_input_byte_count() const { return filter_input_byte_count_; }
-
// The request that initiated this job. This value MAY BE NULL if the
// request was released by DetachRequest().
URLRequest* request_;
@@ -398,7 +395,6 @@ class NET_EXPORT URLRequestJob
int prefilter_bytes_read_;
int postfilter_bytes_read_;
- int64 filter_input_byte_count_;
// The data stream filter which is enabled on demand.
scoped_ptr<Filter> filter_;

Powered by Google App Engine
This is Rietveld 408576698