Chromium Code Reviews| Index: net/http/transport_security_state.h |
| diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h |
| index a55cf62d417cada4728bc7a810b4efb6980e8b17..525d6839e44b8de975f69832b84fa303cf0382f2 100644 |
| --- a/net/http/transport_security_state.h |
| +++ b/net/http/transport_security_state.h |
| @@ -19,6 +19,7 @@ |
| #include "net/base/expiring_cache.h" |
| #include "net/base/hash_value.h" |
| #include "net/base/net_export.h" |
| +#include "net/http/transport_security_state_structs.h" |
| #include "url/gurl.h" |
| namespace net { |
| @@ -27,6 +28,14 @@ class HostPortPair; |
| class SSLInfo; |
| class X509Certificate; |
| +// Sets the transport security state data source. |
| +void NET_EXPORT_PRIVATE |
| +SetTransportSecurityStateSource(const TransportSecurityStateSource* source); |
|
Ryan Sleevi
2017/03/13 18:31:18
When is this used? Testing only?
SetTransportSecu
martijnc
2017/03/13 21:51:40
Yes, this is only used in tests. Renamed.
|
| + |
| +// Sets the transport security state data source back to the default source |
| +// (transport_security_state_static.h). |
| +void NET_EXPORT_PRIVATE SetDefaultTransportSecurityStateSource(); |
|
Ryan Sleevi
2017/03/13 18:31:18
Why is this needed? Our normal pattern for overrid
martijnc
2017/03/13 21:51:40
This was used to set the source back to the defaul
|
| + |
| // Tracks which hosts have enabled strict transport security and/or public |
| // key pins. |
| // |