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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h

Issue 2619243003: Adding ExtraRequest info and exposing request to PLM observers (Closed)
Patch Set: comments Created 3 years, 11 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
index 41fc92d7b19a0f60856f3d312380c61ede3445c2..0d5799c6b71afc2a6a4f4342a06df0dd2cb6b8a1 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
@@ -112,12 +112,9 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
// Calculates actual data usage that went over the network at the HTTP layer
// (e.g. not including network layer overhead) and estimates original data
- // usage for |request|. Passing in -1 for |original_content_length| indicates
- // that the original content length of the response could not be determined.
+ // usage for |request|.
void CalculateAndRecordDataUsage(const net::URLRequest& request,
- DataReductionProxyRequestType request_type,
- int64_t original_content_length,
- int net_error);
+ DataReductionProxyRequestType request_type);
// Posts to the UI thread to UpdateContentLengthPrefs in the data reduction
// proxy metrics and updates |received_content_length_| and

Powered by Google App Engine
This is Rietveld 408576698