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

Unified Diff: content/child/url_response_body_consumer.cc

Issue 2540023003: Dispatch encoded_data_length separately in content/child (Closed)
Patch Set: fix Created 4 years 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: content/child/url_response_body_consumer.cc
diff --git a/content/child/url_response_body_consumer.cc b/content/child/url_response_body_consumer.cc
index a231d9a5c34e08f376fd2a8acf777e400a0cc877..101aee6535ca9e722487709d123c2f94198768c7 100644
--- a/content/child/url_response_body_consumer.cc
+++ b/content/child/url_response_body_consumer.cc
@@ -26,9 +26,6 @@ class URLResponseBodyConsumer::ReceivedData final
const char* payload() const override { return payload_; }
int length() const override { return length_; }
- // TODO(yhirano): This returns an incorrect value. Remove it from
- // ReceivedData before enabling Mojo-Loading.
- int encoded_data_length() const override { return length_; }
private:
const char* const payload_;

Powered by Google App Engine
This is Rietveld 408576698