| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file is generated by net/tools/transport_security_state_generator/. |
| 6 // See transport_security_state_static.template for more information on the data |
| 7 // in this file. |
| 8 |
| 9 #include <stdint.h> |
| 10 |
| 11 #include "net/http/transport_security_state_source.h" |
| 12 |
| 13 enum SecondLevelDomainName [[DOMAIN_IDS]]; |
| 14 |
| 15 [[SPKI_HASHES]] |
| 16 |
| 17 static const char* const kExpectCTReportURIs[] = [[EXPECT_CT_REPORT_URIS]]; |
| 18 |
| 19 static const char* const kExpectStapleReportURIs[] = [[EXPECT_STAPLE_REPORT_URIS
]]; |
| 20 |
| 21 static const char* const kNoRejectedPublicKeys[] = { |
| 22 NULL, |
| 23 }; |
| 24 |
| 25 static const char kNoReportURI[] = ""; |
| 26 |
| 27 [[ACCEPTABLE_CERTS]] |
| 28 |
| 29 static const struct net::TransportSecurityStateSource::Pinset kPinsets[] = [[PIN
SETS]]; |
| 30 |
| 31 static const uint8_t kHSTSHuffmanTree[] = [[HUFFMAN_TREE]]; |
| 32 |
| 33 static const uint8_t kPreloadedHSTSData[] = [[HSTS_TRIE]]; |
| 34 |
| 35 static const unsigned kPreloadedHSTSBits = [[HSTS_TRIE_BITS]]; |
| 36 static const unsigned kHSTSRootPosition = [[HSTS_TRIE_ROOT]]; |
| 37 |
| 38 static const net::TransportSecurityStateSource kHSTSSource = { |
| 39 kHSTSHuffmanTree, |
| 40 sizeof(kHSTSHuffmanTree), |
| 41 kPreloadedHSTSData, |
| 42 kPreloadedHSTSBits, |
| 43 kHSTSRootPosition, |
| 44 kExpectCTReportURIs, |
| 45 kExpectStapleReportURIs, |
| 46 kPinsets, |
| 47 arraysize(kPinsets) |
| 48 }; |
| OLD | NEW |