| 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..ccdb9d7ae3fbe582d48390e6b510886c6c5a4fe5 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,22 @@ class HostPortPair;
|
| class SSLInfo;
|
| class X509Certificate;
|
|
|
| +// Sets the transport security state data source.
|
| +void NET_EXPORT_PRIVATE
|
| +SetTransportSecurityStateSource(const uint8_t* hsts_huffman_tree,
|
| + const size_t hsts_huffman_tree_size,
|
| + const uint8_t* preloaded_hsts_data,
|
| + const size_t preloaded_hsts_bits,
|
| + const size_t hsts_root_position,
|
| + const char* const* expect_ct_report_uris,
|
| + const char* const* expect_staple_report_uris,
|
| + const struct Pinset hsts_pinsets[],
|
| + const size_t hsts_pinsets_count);
|
| +
|
| +// Sets the transport security state data source back to the default source
|
| +// (transport_security_state_static.h).
|
| +void NET_EXPORT_PRIVATE SetDefaultTransportSecurityStateSource();
|
| +
|
| // Tracks which hosts have enabled strict transport security and/or public
|
| // key pins.
|
| //
|
|
|