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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimNetwork.h

Issue 2835123005: Send the decoded size when response completed and stop summing in ResourceLoader::DidReceiveData() (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/web/tests/sim/SimNetwork.h
diff --git a/third_party/WebKit/Source/web/tests/sim/SimNetwork.h b/third_party/WebKit/Source/web/tests/sim/SimNetwork.h
index 1b5c9120914bfcbc07696dff15236aae3539bc44..fe0aea1dbc3457b07b63d4b3ec14b3aba7e33971 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimNetwork.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimNetwork.h
@@ -41,11 +41,13 @@ class SimNetwork final : public WebURLLoaderTestDelegate {
void DidFail(WebURLLoaderClient*,
const WebURLError&,
int64_t total_encoded_data_length,
- int64_t total_encoded_body_length) override;
+ int64_t total_encoded_body_length,
+ int64_t total_decoded_body_length) override;
void DidFinishLoading(WebURLLoaderClient*,
double finish_time,
int64_t total_encoded_data_length,
- int64_t total_encoded_body_length) override;
+ int64_t total_encoded_body_length,
+ int64_t total_decoded_body_length) override;
SimRequest* current_request_;
HashMap<String, SimRequest*> requests_;

Powered by Google App Engine
This is Rietveld 408576698