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

Unified Diff: net/base/network_delegate_impl.cc

Issue 1284993005: Notify NetworkDelegate when bytes have been received over the network. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed empty cronet OnRawBytesRead implementation Created 5 years, 4 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 | « net/base/network_delegate_impl.h ('k') | net/proxy/network_delegate_error_observer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate_impl.cc
diff --git a/net/base/network_delegate_impl.cc b/net/base/network_delegate_impl.cc
index 542b4d02cb9feef8c93fc85c5a075368b43ecee1..e19156a95e1964cf96489ffa11a7ee0700a6c31b 100644
--- a/net/base/network_delegate_impl.cc
+++ b/net/base/network_delegate_impl.cc
@@ -56,9 +56,8 @@ void NetworkDelegateImpl::OnBeforeRedirect(URLRequest* request,
void NetworkDelegateImpl::OnResponseStarted(URLRequest* request) {
}
-void NetworkDelegateImpl::OnRawBytesRead(const URLRequest& request,
- int bytes_read) {
-}
+void NetworkDelegateImpl::OnNetworkBytesReceived(const URLRequest& request,
+ int64_t bytes_received) {}
void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) {
}
« no previous file with comments | « net/base/network_delegate_impl.h ('k') | net/proxy/network_delegate_error_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698