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

Unified Diff: net/base/network_delegate.cc

Issue 1421983002: Include tab IDs when reporting data use accounting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_use_scoped_vector
Patch Set: Fixed external_data_use_observer test Created 5 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
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index dfe2abb7c7e5298182c1f346ac33dd6c7978693d..6cf7c96edf25951034645045d70742c8de3fa3d9 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -89,14 +89,14 @@ void NetworkDelegate::NotifyResponseStarted(URLRequest* request) {
OnResponseStarted(request);
}
-void NetworkDelegate::NotifyNetworkBytesReceived(const URLRequest& request,
+void NetworkDelegate::NotifyNetworkBytesReceived(URLRequest* request,
int64_t bytes_received) {
DCHECK(CalledOnValidThread());
DCHECK_GT(bytes_received, 0);
OnNetworkBytesReceived(request, bytes_received);
}
-void NetworkDelegate::NotifyNetworkBytesSent(const URLRequest& request,
+void NetworkDelegate::NotifyNetworkBytesSent(URLRequest* request,
int64_t bytes_sent) {
DCHECK(CalledOnValidThread());
DCHECK_GT(bytes_sent, 0);
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/network_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698