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

Unified Diff: net/url_request/url_request_job.cc

Issue 6516025: Remove GetInputStreamBufferSize() method from FilterContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add some sanity checks Created 9 years, 10 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 | « net/url_request/url_request_job.h ('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.cc
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index c13b8f5ad327ce8d075a93c8a4469f38cd805d3b..ed01f0ee234f3b0e8be350dfa0cefdd833296541 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -26,10 +26,6 @@ using base::TimeTicks;
namespace net {
-// Buffer size allocated when de-compressing data.
-// static
-const int URLRequestJob::kFilterBufSize = 32 * 1024;
-
URLRequestJob::URLRequestJob(URLRequest* request)
: request_(request),
prefilter_bytes_read_(0),
@@ -263,10 +259,6 @@ int URLRequestJob::GetResponseCode() const {
return -1;
}
-int URLRequestJob::GetInputStreamBufferSize() const {
- return kFilterBufSize;
-}
-
void URLRequestJob::RecordPacketStats(StatisticSelector statistic) const {
if (!packet_timing_enabled_ || (final_packet_time_ == base::Time()))
return;
« no previous file with comments | « net/url_request/url_request_job.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698