| // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_ |
| #define NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_ |
| #include "net/base/net_export.h" |
| #include "starboard/types.h" |
| // kNoReportURI is a placeholder for when a pinset does not have a report URI. |
| NET_EXPORT_PRIVATE extern const char kNoReportURI[]; |
| struct TransportSecurityStateSource { |
| const char* const* const accepted_pins; |
| const char* const* const rejected_pins; |
| const char* const report_uri; |
| const uint8_t* huffman_tree; |
| size_t huffman_tree_size; |
| const uint8_t* preloaded_data; |
| const char* const* expect_ct_report_uris; |
| #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_ |