|  | // Copyright 2017 The Chromium Authors | 
|  | // 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 <stddef.h> | 
|  | #include <stdint.h> | 
|  |  | 
|  | #include "base/memory/raw_ptr_exclusion.h" | 
|  | #include "net/base/hash_value.h" | 
|  | #include "net/base/net_export.h" | 
|  |  | 
|  | namespace net { | 
|  |  | 
|  | struct TransportSecurityStateSource { | 
|  | struct Pinset { | 
|  | // RAW_PTR_EXCLUSION: accepted_pins always points to static data. | 
|  | RAW_PTR_EXCLUSION const base::span<const SHA256HashValue* const> | 
|  | accepted_pins; | 
|  | // RAW_PTR_EXCLUSION: rejected_pins always points to static data. | 
|  | RAW_PTR_EXCLUSION const base::span<const SHA256HashValue* const> | 
|  | rejected_pins; | 
|  | }; | 
|  |  | 
|  | // RAW_PTR_EXCLUSION: huffman_tree always points to static data. | 
|  | RAW_PTR_EXCLUSION const base::span<const uint8_t> huffman_tree; | 
|  | // RAW_PTR_EXCLUSION: preloaded_data always points to static data. | 
|  | RAW_PTR_EXCLUSION const base::span<const uint8_t> preloaded_data; | 
|  | size_t preloaded_bits; | 
|  | size_t root_position; | 
|  | // RAW_PTR_EXCLUSION: pinsets always points to static data. | 
|  | RAW_PTR_EXCLUSION const base::span<const Pinset> pinsets; | 
|  | }; | 
|  |  | 
|  | }  // namespace net | 
|  |  | 
|  | #endif  // NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_ |