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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: net/tools/domain_security_preload_generator/domain_security_entry.cc
diff --git a/net/tools/domain_security_preload_generator/domain_security_entry.cc b/net/tools/domain_security_preload_generator/domain_security_entry.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f46865cc16f7f226c3024bad09f31c3126f1c6ab
--- /dev/null
+++ b/net/tools/domain_security_preload_generator/domain_security_entry.cc
@@ -0,0 +1,33 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "net/tools/domain_security_preload_generator/domain_security_entry.h"
+
+namespace net {
+
+DomainSecurityEntry::DomainSecurityEntry(
+ const std::string& hostname,
+ bool include_subdomains,
+ bool force_https,
+ bool hpkp_include_subdomains,
+ const std::string& pinset,
+ bool expect_ct,
+ const std::string& expect_ct_report_uri,
+ bool expect_staple,
+ bool expect_staple_include_subdomains,
+ const std::string& expect_staple_report_uri)
+ : hostname_(hostname),
+ include_subdomains_(include_subdomains),
+ force_https_(force_https),
+ hpkp_include_subdomains_(hpkp_include_subdomains),
+ pinset_(pinset),
+ expect_ct_(expect_ct),
+ expect_ct_report_uri_(expect_ct_report_uri),
+ expect_staple_(expect_staple),
+ expect_staple_include_subdomains_(expect_staple_include_subdomains),
+ expect_staple_report_uri_(expect_staple_report_uri) {}
+
+DomainSecurityEntry::~DomainSecurityEntry() {}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698