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

Side by Side Diff: net/tools/domain_security_preload_generator/domain_security_entry.cc

Issue 2551153003: Add static domain security state generator tool. (Closed)
Patch Set: fix base64 issue and accidental replace. Created 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2016 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 #include "net/tools/domain_security_preload_generator/domain_security_entry.h"
6
7 namespace net {
8
9 DomainSecurityEntry::DomainSecurityEntry(
10 const std::string& hostname,
11 bool include_subdomains,
12 bool force_https,
13 bool hpkp_include_subdomains,
14 const std::string& pinset,
15 bool expect_ct,
16 const std::string& expect_ct_report_uri,
17 bool expect_staple,
18 bool expect_staple_include_subdomains,
19 const std::string& expect_staple_report_uri)
20 : hostname_(hostname),
21 include_subdomains_(include_subdomains),
22 force_https_(force_https),
23 hpkp_include_subdomains_(hpkp_include_subdomains),
24 pinset_(pinset),
25 expect_ct_(expect_ct),
26 expect_ct_report_uri_(expect_ct_report_uri),
27 expect_staple_(expect_staple),
28 expect_staple_include_subdomains_(expect_staple_include_subdomains),
29 expect_staple_report_uri_(expect_staple_report_uri) {}
30
31 DomainSecurityEntry::~DomainSecurityEntry() {}
32
33 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698