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

Unified Diff: net/nqe/network_quality_estimator_test_util.h

Issue 2486033002: NQE: Use ResponseHeaders to get the HTTP status code (Closed)
Patch Set: Add redirect test Created 4 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
Index: net/nqe/network_quality_estimator_test_util.h
diff --git a/net/nqe/network_quality_estimator_test_util.h b/net/nqe/network_quality_estimator_test_util.h
index fb268f2394e582d52727ce18493ded27be38799c..b1581fbebe912b254c1e349f4a8c156963a7dd06 100644
--- a/net/nqe/network_quality_estimator_test_util.h
+++ b/net/nqe/network_quality_estimator_test_util.h
@@ -64,6 +64,10 @@ class TestNetworkQualityEstimator : public NetworkQualityEstimator {
// Returns a GURL hosted at the embedded test server.
const GURL GetEchoURL() const;
+ // Returns a GURL hosted at the embedded test server which contains redirect
+ // to another HTTPS URL.
+ const GURL GetRedirectURL() const;
+
void set_effective_connection_type(EffectiveConnectionType type) {
// Callers should not set effective connection type along with the
// lower-layer metrics.

Powered by Google App Engine
This is Rietveld 408576698