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

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: 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..ea2de5f539a772d2fc1c2f5b2180f5aeca6c5dc6 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -106,6 +106,8 @@ struct URLRequestContextConfig {
const std::string& data_reduction_fallback_proxy,
// Data reduction proxy secure proxy check URL.
const std::string& data_reduction_secure_proxy_check_url,
+ // Enable pinning of the locat trust anchors
+ bool pin_local_trust_anchors,
// MockCertVerifier to use for testing purposes.
std::unique_ptr<net::CertVerifier> mock_cert_verifier);
~URLRequestContextConfig();
@@ -147,6 +149,8 @@ struct URLRequestContextConfig {
const std::string data_reduction_primary_proxy;
const std::string data_reduction_fallback_proxy;
const std::string data_reduction_secure_proxy_check_url;
+ // Enable pinning of local trust anchors
+ const bool pin_local_trust_anchors;
// Certificate verifier for testing.
std::unique_ptr<net::CertVerifier> mock_cert_verifier;

Powered by Google App Engine
This is Rietveld 408576698