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

Unified Diff: components/data_use_measurement/core/data_use_network_delegate.h

Issue 2595503002: Record the data use by content type (Closed)
Patch Set: fixed nits Created 4 years 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: components/data_use_measurement/core/data_use_network_delegate.h
diff --git a/components/data_use_measurement/core/data_use_network_delegate.h b/components/data_use_measurement/core/data_use_network_delegate.h
index 1aea4e6a5dadec4404af7f95f4a91ba4cf24d806..014c683d71b4b6559b49ddd559961745724a7bbd 100644
--- a/components/data_use_measurement/core/data_use_network_delegate.h
+++ b/components/data_use_measurement/core/data_use_network_delegate.h
@@ -45,6 +45,13 @@ class DataUseNetworkDelegate : public net::LayeredNetworkDelegate {
void OnBeforeRedirectInternal(net::URLRequest* request,
const GURL& new_location) override;
+ void OnHeadersReceivedInternal(
+ net::URLRequest* request,
+ const net::CompletionCallback& callback,
+ const net::HttpResponseHeaders* original_response_headers,
+ scoped_refptr<net::HttpResponseHeaders>* override_response_headers,
+ GURL* allowed_unsafe_redirect_url) override;
+
void OnNetworkBytesReceivedInternal(net::URLRequest* request,
int64_t bytes_received) override;

Powered by Google App Engine
This is Rietveld 408576698