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

Unified Diff: third_party/WebKit/public/platform/WebURLLoaderTestDelegate.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/public/platform/WebURLLoaderTestDelegate.h
diff --git a/third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h b/third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h
index f54b9b0f8ec46ed01164a80f8eaeb6d56438dad0..7b979b77beb77c6a9ef28424f0c6598157674230 100644
--- a/third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h
+++ b/third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h
@@ -30,11 +30,13 @@ class BLINK_PLATFORM_EXPORT WebURLLoaderTestDelegate {
virtual void DidFail(WebURLLoaderClient* original_client,
const WebURLError&,
int64_t total_encoded_data_length,
- int64_t total_encoded_body_length);
+ int64_t total_encoded_body_length,
+ int64_t total_decoded_body_length);
virtual void DidFinishLoading(WebURLLoaderClient* original_client,
double finish_time,
int64_t total_encoded_data_length,
- int64_t total_encoded_body_length);
+ int64_t total_encoded_body_length,
+ int64_t total_decoded_body_length);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/WebURLLoaderClient.h ('k') | third_party/WebKit/public/platform/WebURLResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698