Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: net/http/transport_security_state_static.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/http/url_security_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 automatically generated by transport_security_state_static_gener ate.go. 5 // This file is automatically generated by transport_security_state_static_gener ate.go.
6 // You can find it at https://github.com/agl/transport-security-state-generate. 6 // You can find it at https://github.com/agl/transport-security-state-generate.
7 7
8 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ 8 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_
9 #define NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ 9 #define NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_
10 10
11 #include <stdint.h>
12
11 enum SecondLevelDomainName { 13 enum SecondLevelDomainName {
12 DOMAIN_NOT_PINNED, 14 DOMAIN_NOT_PINNED,
13 DOMAIN_GOOGLE_COM, 15 DOMAIN_GOOGLE_COM,
14 DOMAIN_ANDROID_COM, 16 DOMAIN_ANDROID_COM,
15 DOMAIN_GOOGLE_ANALYTICS_COM, 17 DOMAIN_GOOGLE_ANALYTICS_COM,
16 DOMAIN_GOOGLEPLEX_COM, 18 DOMAIN_GOOGLEPLEX_COM,
17 DOMAIN_YTIMG_COM, 19 DOMAIN_YTIMG_COM,
18 DOMAIN_GOOGLEUSERCONTENT_COM, 20 DOMAIN_GOOGLEUSERCONTENT_COM,
19 DOMAIN_YOUTUBE_COM, 21 DOMAIN_YOUTUBE_COM,
20 DOMAIN_GOOGLEAPIS_COM, 22 DOMAIN_GOOGLEAPIS_COM,
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 {kTwitterComAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 723 {kTwitterComAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
722 {kTwitterCDNAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 724 {kTwitterCDNAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
723 {kDropboxAcceptableCerts, kNoRejectedPublicKeys, kDropboxReportURI}, 725 {kDropboxAcceptableCerts, kNoRejectedPublicKeys, kDropboxReportURI},
724 {kFacebookAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 726 {kFacebookAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
725 {kSpideroakAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 727 {kSpideroakAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
726 {kYahooAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI}, 728 {kYahooAcceptableCerts, kNoRejectedPublicKeys, kNoReportURI},
727 }; 729 };
728 730
729 // kHSTSHuffmanTree describes a Huffman tree. The nodes of the tree are pairs 731 // kHSTSHuffmanTree describes a Huffman tree. The nodes of the tree are pairs
730 // of uint8s. The last node in the array is the root of the tree. Each pair is 732 // of uint8s. The last node in the array is the root of the tree. Each pair is
731 // two uint8 values, the first is "left" and the second is "right". If a uint8 733 // two uint8_t values, the first is "left" and the second is "right". If a
734 // uint8_t
732 // value has the MSB set then it represents a literal leaf value. Otherwise 735 // value has the MSB set then it represents a literal leaf value. Otherwise
733 // it's a pointer to the n'th element of the array. 736 // it's a pointer to the n'th element of the array.
734 static const uint8 kHSTSHuffmanTree[] = { 737 static const uint8_t kHSTSHuffmanTree[] = {
735 0xf0, 0xe4, 0x00, 0xf2, 0x01, 0x80, 0xf9, 0xe6, 0x03, 0xe7, 0xe9, 0x04, 738 0xf0, 0xe4, 0x00, 0xf2, 0x01, 0x80, 0xf9, 0xe6, 0x03, 0xe7, 0xe9, 0x04,
736 0xb7, 0xb6, 0xb1, 0x06, 0xb0, 0xb3, 0x07, 0x08, 0x09, 0xea, 0xf8, 0x0a, 739 0xb7, 0xb6, 0xb1, 0x06, 0xb0, 0xb3, 0x07, 0x08, 0x09, 0xea, 0xf8, 0x0a,
737 0x0b, 0xf7, 0xed, 0x0c, 0x0d, 0xef, 0x05, 0x0e, 0x02, 0x0f, 0xeb, 0xe2, 740 0x0b, 0xf7, 0xed, 0x0c, 0x0d, 0xef, 0x05, 0x0e, 0x02, 0x0f, 0xeb, 0xe2,
738 0xe3, 0x11, 0xe1, 0x12, 0x13, 0xff, 0xf3, 0xec, 0xe5, 0x15, 0xb9, 0xb5, 741 0xe3, 0x11, 0xe1, 0x12, 0x13, 0xff, 0xf3, 0xec, 0xe5, 0x15, 0xb9, 0xb5,
739 0xb8, 0x17, 0xb2, 0x18, 0xb4, 0xf1, 0x19, 0x1a, 0xfa, 0x1b, 0x1c, 0xf6, 742 0xb8, 0x17, 0xb2, 0x18, 0xb4, 0xf1, 0x19, 0x1a, 0xfa, 0x1b, 0x1c, 0xf6,
740 0x1d, 0xe8, 0x1e, 0xee, 0xad, 0xae, 0x20, 0xf5, 0xf4, 0x21, 0x1f, 0x22, 743 0x1d, 0xe8, 0x1e, 0xee, 0xad, 0xae, 0x20, 0xf5, 0xf4, 0x21, 0x1f, 0x22,
741 0x16, 0x23, 0x14, 0x24, 0x10, 0x25, 744 0x16, 0x23, 0x14, 0x24, 0x10, 0x25,
742 }; 745 };
743 746
744 static const uint8 kPreloadedHSTSData[] = { 747 static const uint8_t kPreloaded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xb7, 0x0d, 0x9c, 0xb8, 0x5b, 755 0xb8, 0x39, 0x7f, 0xef, 0xdd, 0x41, 0xc9, 0xb7, 0x0d, 0x9c, 0xb8, 0x5b,
753 0x39, 0x58, 0x7d, 0xdd, 0x16, 0x6d, 0x06, 0xff, 0xf4, 0xa3, 0x07, 0xdf, 756 0x39, 0x58, 0x7d, 0xdd, 0x16, 0x6d, 0x06, 0xff, 0xf4, 0xa3, 0x07, 0xdf,
754 0xb8, 0x75, 0x0a, 0x9c, 0xbf, 0x82, 0x30, 0xb6, 0x7e, 0x72, 0xfe, 0x8e, 757 0xb8, 0x75, 0x0a, 0x9c, 0xbf, 0x82, 0x30, 0xb6, 0x7e, 0x72, 0xfe, 0x8e,
(...skipping 3663 matching lines...) Expand 10 before | Expand all | Expand 10 after
4418 0xb5, 0x5f, 0x70, 0xfa, 0xfb, 0x10, 0x7f, 0xbc, 0x1f, 0x6e, 0x34, 0xe2, 4421 0xb5, 0x5f, 0x70, 0xfa, 0xfb, 0x10, 0x7f, 0xbc, 0x1f, 0x6e, 0x34, 0xe2,
4419 0x06, 0xe7, 0xf4, 0x9a, 0x4e, 0x2e, 0x29, 0x49, 0xed, 0xe0, 0xb5, 0x28, 4422 0x06, 0xe7, 0xf4, 0x9a, 0x4e, 0x2e, 0x29, 0x49, 0xed, 0xe0, 0xb5, 0x28,
4420 0x14, 4423 0x14,
4421 }; 4424 };
4422 4425
4423 static const unsigned kPreloadedHSTSBits = 352806; 4426 static const unsigned kPreloadedHSTSBits = 352806;
4424 4427
4425 static const unsigned kHSTSRootPosition = 352187; 4428 static const unsigned kHSTSRootPosition = 352187;
4426 4429
4427 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_ 4430 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_STATIC_H_
OLDNEW
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/http/url_security_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698