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

Unified Diff: net/base/network_delegate_impl.h

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.cc ('k') | net/base/network_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate_impl.h
diff --git a/net/base/network_delegate_impl.h b/net/base/network_delegate_impl.h
index 4b68d95a2d630ce80449a89f8ca0a369405cd19a..231a6467ade43178ba9d8d0906f5dd72747ebfae 100644
--- a/net/base/network_delegate_impl.h
+++ b/net/base/network_delegate_impl.h
@@ -125,7 +125,7 @@ class NET_EXPORT NetworkDelegateImpl : public NetworkDelegate {
// greater than 0.
// Currently, this is only implemented for HTTP transactions, and
// |bytes_received| does not include TLS overhead or TCP retransmits.
- void OnNetworkBytesReceived(const URLRequest& request,
+ void OnNetworkBytesReceived(URLRequest* request,
int64_t bytes_received) override;
// Called when bytes are sent over the network, such as when sending request
@@ -135,8 +135,7 @@ class NET_EXPORT NetworkDelegateImpl : public NetworkDelegate {
// OnNetworkBytesSent was called. |bytes_sent| will always be greater than 0.
// Currently, this is only implemented for HTTP transactions, and |bytes_sent|
// does not include TLS overhead or TCP retransmits.
- void OnNetworkBytesSent(const URLRequest& request,
- int64_t bytes_sent) override;
+ void OnNetworkBytesSent(URLRequest* request, int64_t bytes_sent) override;
// Indicates that the URL request has been completed or failed.
// |started| indicates whether the request has been started. If false,
« no previous file with comments | « net/base/network_delegate.cc ('k') | net/base/network_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698