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