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

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

Issue 2726873003: Make transport security state data source configurable. (Closed)
Patch Set: ternary 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
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/http/transport_security_state_static.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/http/transport_security_state.cc ('k') | net/http/transport_security_state_static.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698