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

Unified Diff: components/cronet/url_request_context_config.h

Issue 2045703003: Enable NQE when Cronet Engine is built (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/cronet/url_request_context_config.h
diff --git a/components/cronet/url_request_context_config.h b/components/cronet/url_request_context_config.h
index 620bb926bdc8c39a0e5c158fc9df4aa38b8aed7f..f464dbbc5cfbbee6acc4b0171568aa1240d4fcd2 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -107,7 +107,9 @@ struct URLRequestContextConfig {
// Data reduction proxy secure proxy check URL.
const std::string& data_reduction_secure_proxy_check_url,
// MockCertVerifier to use for testing purposes.
- std::unique_ptr<net::CertVerifier> mock_cert_verifier);
+ std::unique_ptr<net::CertVerifier> mock_cert_verifier,
+ // Enable network quality estimator.
+ bool enable_network_quality_estimator);
~URLRequestContextConfig();
// Configure |context_builder| based on |this|.
@@ -151,6 +153,9 @@ struct URLRequestContextConfig {
// Certificate verifier for testing.
std::unique_ptr<net::CertVerifier> mock_cert_verifier;
+ // Enable network quality estimator.
+ const bool enable_network_quality_estimator;
+
// App-provided list of servers that support QUIC.
ScopedVector<QuicHint> quic_hints;

Powered by Google App Engine
This is Rietveld 408576698