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

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

Issue 2519843002: Update ResourceResponse::encodedDataLength when response is completed (Closed)
Patch Set: Update ResourceResponse::encodedDataLength when response is completed 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: third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
diff --git a/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp b/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
index eaff29e3a30e77883a40590c962f9cd44edd0527..97691606c7d3d1c0975c225706ef0f4ed53d5665 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
+++ b/third_party/WebKit/Source/web/tests/sim/SimNetwork.cpp
@@ -62,9 +62,10 @@ void SimNetwork::didReceiveData(WebURLLoaderClient* client,
void SimNetwork::didFail(WebURLLoaderClient* client,
WebURLLoader* loader,
- const WebURLError& error) {
+ const WebURLError& error,
+ int64_t encodedDataLength) {
if (!m_currentRequest) {
- client->didFail(loader, error);
+ client->didFail(loader, error, encodedDataLength);
return;
}
m_currentRequest->didFail(error);
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimNetwork.h ('k') | third_party/WebKit/Source/web/tests/sim/SimRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698