| 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..56ef179eeb909fc4417f84b9741da48ba727c25a 100644
|
| --- a/components/cronet/ios/cronet_environment.h
|
| +++ b/components/cronet/ios/cronet_environment.h
|
| @@ -101,6 +101,14 @@ 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);
|
| + }
|
| +
|
| + void add_public_key_pins(std::unique_ptr<URLRequestContextConfig::Pkp> pkp) {
|
| + pkp_list_.push_back(std::move(pkp));
|
| + }
|
| +
|
| // Returns the URLRequestContext associated with this object.
|
| net::URLRequestContext* GetURLRequestContext() const;
|
|
|
| @@ -141,6 +149,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_;
|
|
|
|
|