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

Unified Diff: components/cronet/ios/cronet_environment.h

Issue 2937523002: add setter for enable_pkp_bypass_etc (Closed)
Patch Set: add small todo Created 3 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
« no previous file with comments | « components/cronet/ios/Cronet.mm ('k') | components/cronet/ios/cronet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/cronet_environment.h
diff --git a/components/cronet/ios/cronet_environment.h b/components/cronet/ios/cronet_environment.h
index 83630259b73fc3c89bc8bda16284d2d21c544b64..8f4adc78fa9c6a59f6b4b0ab60a3287dce8b65cd 100644
--- a/components/cronet/ios/cronet_environment.h
+++ b/components/cronet/ios/cronet_environment.h
@@ -105,6 +105,11 @@ class CronetEnvironment {
void set_pkp_list(PkpVector pkp_list) { pkp_list_ = std::move(pkp_list); }
+ void set_enable_public_key_pinning_bypass_for_local_trust_anchors(
+ bool enable) {
+ enable_pkp_bypass_for_local_trust_anchors_ = enable;
+ }
+
// Returns the URLRequestContext associated with this object.
net::URLRequestContext* GetURLRequestContext() const;
@@ -162,6 +167,7 @@ class CronetEnvironment {
bool user_agent_partial_;
std::unique_ptr<net::NetLog> net_log_;
std::unique_ptr<net::WriteToFileNetLogObserver> net_log_observer_;
+ bool enable_pkp_bypass_for_local_trust_anchors_;
DISALLOW_COPY_AND_ASSIGN(CronetEnvironment);
};
« no previous file with comments | « components/cronet/ios/Cronet.mm ('k') | components/cronet/ios/cronet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698