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

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

Issue 2928653002: [Cronet-iOS] Public-Key-Pinning Tests (Closed)
Patch Set: Fixed DEPS 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 a419c2b6a0fae8777a43f434bc3e11ef9ae8a582..99eb667ace5e7fff2c6f8311a48c0703e63197db 100644
--- a/components/cronet/ios/cronet_environment.h
+++ b/components/cronet/ios/cronet_environment.h
@@ -101,6 +101,10 @@ class CronetEnvironment {
ssl_key_log_file_name_ = ssl_key_log_file_name;
}
+ void set_pkp_list(ScopedVector<URLRequestContextConfig::Pkp> pkp_list) {
+ pkp_list_ = std::move(pkp_list);
+ }
+
// Returns the URLRequestContext associated with this object.
net::URLRequestContext* GetURLRequestContext() const;
@@ -141,6 +145,7 @@ class CronetEnvironment {
std::string experimental_options_;
std::string ssl_key_log_file_name_;
URLRequestContextConfig::HttpCacheType http_cache_;
+ ScopedVector<URLRequestContextConfig::Pkp> pkp_list_;
std::list<net::HostPortPair> quic_hints_;
« 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