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

Unified Diff: components/cronet/url_request_context_config.h

Issue 2052363002: Enable public key pinning of local trust anchors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed CronetPerfTestActivity test 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 f464dbbc5cfbbee6acc4b0171568aa1240d4fcd2..2a00cf12a05201ebb286c0489c05b0c3c8bc1b4d 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -109,7 +109,9 @@ struct URLRequestContextConfig {
// MockCertVerifier to use for testing purposes.
std::unique_ptr<net::CertVerifier> mock_cert_verifier,
// Enable network quality estimator.
- bool enable_network_quality_estimator);
+ bool enable_network_quality_estimator,
+ // Enable bypassing of public key pinning for local trust anchors
+ bool bypass_public_key_pinning_for_local_trust_anchors);
~URLRequestContextConfig();
// Configure |context_builder| based on |this|.
@@ -156,6 +158,9 @@ struct URLRequestContextConfig {
// Enable network quality estimator.
const bool enable_network_quality_estimator;
+ // Enable public key pinning bypass for local trust anchors.
+ const bool bypass_public_key_pinning_for_local_trust_anchors;
+
// App-provided list of servers that support QUIC.
ScopedVector<QuicHint> quic_hints;

Powered by Google App Engine
This is Rietveld 408576698