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

Unified Diff: webkit/tools/test_shell/simple_resource_loader_bridge.cc

Issue 6771043: Enabled actual transfer size in chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed length_received to raw_data_length in didReceiveData on chromium side. Created 9 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: webkit/tools/test_shell/simple_resource_loader_bridge.cc
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
index 81ebab42c9a6c34fc093b329aeb169091feaa281..7f278bd85be98f824419539787af1a217a339028 100644
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
@@ -305,7 +305,7 @@ class RequestProxy : public net::URLRequest::Delegate,
g_io_thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(
this, &RequestProxy::AsyncReadData));
- peer_->OnReceivedData(buf_copy.get(), bytes_read);
+ peer_->OnReceivedData(buf_copy.get(), bytes_read, -1);
darin (slow to review) 2011/04/08 15:47:18 so -1 means unknown? is that documented somewhere
vsevik 2011/04/08 16:23:48 Yes, -1 is unknown. It is now mentioned in the com
}
void NotifyDownloadedData(int bytes_read) {
« webkit/glue/weburlloader_impl.cc ('K') | « webkit/plugins/ppapi/ppb_url_loader_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698