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

Unified Diff: components/cronet/url_request_context_config.cc

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.cc
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc
index 24ad2fa3f8ec16abcff5a4f98d97ffdf3a02e808..3878536555d9ee2d560f4ad556eabd7ed6a31860 100644
--- a/components/cronet/url_request_context_config.cc
+++ b/components/cronet/url_request_context_config.cc
@@ -250,7 +250,8 @@ URLRequestContextConfig::URLRequestContextConfig(
const std::string& data_reduction_fallback_proxy,
const std::string& data_reduction_secure_proxy_check_url,
std::unique_ptr<net::CertVerifier> mock_cert_verifier,
- bool enable_network_quality_estimator)
+ bool enable_network_quality_estimator,
+ bool bypass_public_key_pinning_for_local_trust_anchors)
: enable_quic(enable_quic),
quic_user_agent_id(quic_user_agent_id),
enable_spdy(enable_spdy),
@@ -267,7 +268,9 @@ URLRequestContextConfig::URLRequestContextConfig(
data_reduction_secure_proxy_check_url(
data_reduction_secure_proxy_check_url),
mock_cert_verifier(std::move(mock_cert_verifier)),
- enable_network_quality_estimator(enable_network_quality_estimator) {}
+ enable_network_quality_estimator(enable_network_quality_estimator),
+ bypass_public_key_pinning_for_local_trust_anchors(
+ bypass_public_key_pinning_for_local_trust_anchors) {}
URLRequestContextConfig::~URLRequestContextConfig() {}
« no previous file with comments | « components/cronet/url_request_context_config.h ('k') | components/cronet/url_request_context_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698