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

Unified Diff: content/child/web_url_loader_impl_unittest.cc

Issue 2519843002: Update ResourceResponse::encodedDataLength when response is completed (Closed)
Patch Set: fix 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: content/child/web_url_loader_impl_unittest.cc
diff --git a/content/child/web_url_loader_impl_unittest.cc b/content/child/web_url_loader_impl_unittest.cc
index caf0ba465ee6e8d1f3b98a1c1f0cd27c6043e8a8..9adb126cfad2ff089798d48480b2789cc29f1c4c 100644
--- a/content/child/web_url_loader_impl_unittest.cc
+++ b/content/child/web_url_loader_impl_unittest.cc
@@ -226,7 +226,8 @@ class TestWebURLLoaderClient : public blink::WebURLLoaderClient {
}
void didFail(blink::WebURLLoader* loader,
- const blink::WebURLError& error) override {
+ const blink::WebURLError& error,
+ int64_t totalEncodedDataLength) override {
EXPECT_TRUE(loader_);
EXPECT_EQ(loader_.get(), loader);
EXPECT_FALSE(did_finish_);

Powered by Google App Engine
This is Rietveld 408576698