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

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: 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 570173b1504c03507f148c1f5881e6b660566222..8458f7dd6b0bbdd3d66916d619983c851d247bee 100644
--- a/components/cronet/url_request_context_config.cc
+++ b/components/cronet/url_request_context_config.cc
@@ -249,6 +249,7 @@ URLRequestContextConfig::URLRequestContextConfig(
const std::string& data_reduction_primary_proxy,
const std::string& data_reduction_fallback_proxy,
const std::string& data_reduction_secure_proxy_check_url,
+ bool pin_local_trust_anchors,
std::unique_ptr<net::CertVerifier> mock_cert_verifier)
: enable_quic(enable_quic),
quic_user_agent_id(quic_user_agent_id),
@@ -265,6 +266,7 @@ URLRequestContextConfig::URLRequestContextConfig(
data_reduction_fallback_proxy(data_reduction_fallback_proxy),
data_reduction_secure_proxy_check_url(
data_reduction_secure_proxy_check_url),
+ pin_local_trust_anchors(pin_local_trust_anchors),
mock_cert_verifier(std::move(mock_cert_verifier)) {}
URLRequestContextConfig::~URLRequestContextConfig() {}

Powered by Google App Engine
This is Rietveld 408576698