Chromium Code Reviews| 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 |
|
Ryan Sleevi
2016/06/21 00:52:26
See comments about documentation
kapishnikov
2016/06/29 23:04:32
Renamed the variable.
|
| + 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; |