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

Unified Diff: content/child/resource_dispatcher_unittest.cc

Issue 23696002: Propagate the encoded data length through OnDownloadData delegate method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher_unittest.cc
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index d3a33c255ce8981bd6ebfe67e72ed347bad74628..817bf916e8c949a22d847a4bbd0d9fd1344d0e35 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -57,7 +57,7 @@ class TestRequestCallback : public ResourceLoaderBridge::Peer {
virtual void OnReceivedResponse(const ResourceResponseInfo& info) OVERRIDE {
}
- virtual void OnDownloadedData(int len) OVERRIDE {
+ virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE {
}
virtual void OnReceivedData(const char* data,
@@ -285,7 +285,7 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest,
set_defer_loading(true);
}
- virtual void OnDownloadedData(int len) OVERRIDE {
+ virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE {
}
virtual void OnReceivedData(const char* data,
@@ -374,7 +374,7 @@ class TimeConversionTest : public ResourceDispatcherTest,
response_info_ = info;
}
- virtual void OnDownloadedData(int len) OVERRIDE {
+ virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE {
}
virtual void OnReceivedData(const char* data,
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698