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

Unified Diff: net/nqe/network_quality_estimator.h

Issue 2265873002: Adjust callers and networking delegates in net/ to modified APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Patch Set: rebased on top of URLRequest::Read CL Created 4 years, 3 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/cert_net/nss_ocsp.cc ('k') | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/network_quality_estimator.h
diff --git a/net/nqe/network_quality_estimator.h b/net/nqe/network_quality_estimator.h
index cd9f53622cf89d923e3666113819a9cf5125eac4..29043559bc4ed602c71c7573e8485bd95a847636 100644
--- a/net/nqe/network_quality_estimator.h
+++ b/net/nqe/network_quality_estimator.h
@@ -178,7 +178,7 @@ class NET_EXPORT NetworkQualityEstimator
// Notifies NetworkQualityEstimator that the response body of |request| has
// been received.
- void NotifyRequestCompleted(const URLRequest& request);
+ void NotifyRequestCompleted(const URLRequest& request, int net_error);
// Notifies NetworkQualityEstimator that |request| will be destroyed.
void NotifyURLRequestDestroyed(const URLRequest& request);
@@ -480,7 +480,7 @@ class NET_EXPORT NetworkQualityEstimator
// Records a correlation metric that can be used for computing the correlation
// between HTTP-layer RTT, transport-layer RTT, throughput and the time
// taken to complete |request|.
- void RecordCorrelationMetric(const URLRequest& request) const;
+ void RecordCorrelationMetric(const URLRequest& request, int net_error) const;
// Returns true if transport RTT should be used for computing the effective
// connection type.
« no previous file with comments | « net/cert_net/nss_ocsp.cc ('k') | net/nqe/network_quality_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698