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

Unified Diff: net/filter/filter_source_stream.cc

Issue 2331193005: Add EOF signal in FilterSourceStream::FilterData() (Closed)
Patch Set: self review Created 4 years, 3 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/filter/filter_source_stream.h ('k') | net/filter/filter_source_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter_source_stream.cc
diff --git a/net/filter/filter_source_stream.cc b/net/filter/filter_source_stream.cc
index 8043e698a1f91aa6c2d6e5c1569d655a356d20c0..39cf9c1a978c0335843b13ada9a03e8f4214cb00 100644
--- a/net/filter/filter_source_stream.cc
+++ b/net/filter/filter_source_stream.cc
@@ -126,8 +126,9 @@ int FilterSourceStream::DoFilterData() {
DCHECK(output_buffer_);
DCHECK(drainable_input_buffer_);
- int bytes_output = FilterData(output_buffer_.get(), output_buffer_size_,
- drainable_input_buffer_.get());
+ int bytes_output =
+ FilterData(output_buffer_.get(), output_buffer_size_,
+ drainable_input_buffer_.get(), upstream_end_reached_);
if (bytes_output == ERR_CONTENT_DECODING_FAILED) {
UMA_HISTOGRAM_ENUMERATION("Net.ContentDecodingFailed.FilterType", type(),
TYPE_MAX);
« no previous file with comments | « net/filter/filter_source_stream.h ('k') | net/filter/filter_source_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698