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

Unified Diff: chrome/renderer/security_filter_peer.h

Issue 2510333002: Send encoded_body_length to renderer when response completed (2/3) (Closed)
Patch Set: rebase Created 4 years, 1 month 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: chrome/renderer/security_filter_peer.h
diff --git a/chrome/renderer/security_filter_peer.h b/chrome/renderer/security_filter_peer.h
index 1eea5ff8e4126f31b5206c833234c58a7ee54205..e0d8e65004627fd90f93d76347e35232f9091852 100644
--- a/chrome/renderer/security_filter_peer.h
+++ b/chrome/renderer/security_filter_peer.h
@@ -64,7 +64,8 @@ class BufferedPeer : public SecurityFilterPeer {
bool was_ignored_by_handler,
bool stale_copy_in_cache,
const base::TimeTicks& completion_time,
- int64_t total_transfer_size) override;
+ int64_t total_transfer_size,
+ int64_t encoded_body_size) override;
protected:
// Invoked when the entire request has been processed before the data is sent
@@ -102,7 +103,8 @@ class ReplaceContentPeer : public SecurityFilterPeer {
bool was_ignored_by_handler,
bool stale_copy_in_cache,
const base::TimeTicks& completion_time,
- int64_t total_transfer_size) override;
+ int64_t total_transfer_size,
+ int64_t encoded_body_size) override;
private:
content::ResourceResponseInfo response_info_;
« no previous file with comments | « chrome/renderer/extensions/extension_localization_peer_unittest.cc ('k') | chrome/renderer/security_filter_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698