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

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

Issue 2680933009: Add unittests for HSTS decoding. (Closed)
Patch Set: -struct Created 3 years, 9 months 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
OLDNEW
(Empty)
1 // Copyright (c) 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 #ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_
6 #define NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_
7
8 namespace net {
9
10 struct TransportSecurityStateSource {
11 struct Pinset {
12 const char* const* const accepted_pins;
13 const char* const* const rejected_pins;
14 const char* const report_uri;
15 };
16
17 const uint8_t* huffman_tree;
18 size_t huffman_tree_size;
19 const uint8_t* preloaded_data;
20 size_t preloaded_bits;
21 size_t root_position;
22 const char* const* expect_ct_report_uris;
23 const char* const* expect_staple_report_uris;
24 const Pinset* pinsets;
25 size_t pinsets_count;
26 };
27
28 } // namespace net
29
30 #endif // NET_HTTP_TRANSPORT_SECURITY_STATE_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698