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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.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/platform/exported/WebURLLoaderTestDelegate.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp b/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp
index 02fad74b2ccc4527ed0dfd8d4811968c979ef5af..59b373d4ea59b8f20f55511d627d63e21017d76e 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp
@@ -34,8 +34,9 @@ void WebURLLoaderTestDelegate::didReceiveData(
void WebURLLoaderTestDelegate::didFail(WebURLLoaderClient* originalClient,
WebURLLoader* loader,
- const WebURLError& error) {
- originalClient->didFail(loader, error);
+ const WebURLError& error,
+ int64_t totalEncodedDataLength) {
+ originalClient->didFail(loader, error, totalEncodedDataLength);
}
void WebURLLoaderTestDelegate::didFinishLoading(
« no previous file with comments | « third_party/WebKit/Source/core/loader/PingLoader.cpp ('k') | third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698