Index: content/common/content_security_policy_header.cc |
diff --git a/content/common/content_security_policy_header.cc b/content/common/content_security_policy_header.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..13ec75d738e567ed51d6dd6c4fd15c1164027aa2 |
--- /dev/null |
+++ b/content/common/content_security_policy_header.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2017 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 "content/common/content_security_policy_header.h" |
+ |
+namespace content { |
+ |
+ContentSecurityPolicyHeader::ContentSecurityPolicyHeader() |
+ : header_value(std::string()), |
+ type(blink::WebContentSecurityPolicyTypeEnforce), |
+ source(blink::WebContentSecurityPolicySourceHTTP) {} |
+ |
+ContentSecurityPolicyHeader::ContentSecurityPolicyHeader( |
+ const std::string& header_value, |
+ blink::WebContentSecurityPolicyType type, |
+ blink::WebContentSecurityPolicySource source) |
+ : header_value(header_value), type(type), source(source) {} |
+ |
+} // namespace content |