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

Unified Diff: third_party/WebKit/public/platform/WebURLLoaderClient.h

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/public/platform/WebURLLoaderClient.h
diff --git a/third_party/WebKit/public/platform/WebURLLoaderClient.h b/third_party/WebKit/public/platform/WebURLLoaderClient.h
index 190cef7b16761a910e7eb16825a4bafba87b9a56..e470bf461532cd1aeb3fa9a674e3686f418f1f2f 100644
--- a/third_party/WebKit/public/platform/WebURLLoaderClient.h
+++ b/third_party/WebKit/public/platform/WebURLLoaderClient.h
@@ -109,7 +109,10 @@ class BLINK_PLATFORM_EXPORT WebURLLoaderClient {
int64_t totalEncodedDataLength) {}
// Called when the load completes with an error.
- virtual void didFail(WebURLLoader*, const WebURLError&) {}
+ // |totalEncodedDataLength| may be equal to kUnknownEncodedDataLength.
+ virtual void didFail(WebURLLoader*,
+ const WebURLError&,
+ int64_t totalEncodedDataLength) {}
// Value passed to didFinishLoading when total encoded data length isn't
// known.
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimRequest.cpp ('k') | third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698