OLD | NEW |
(Empty) | |
| 1 // Copyright 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 #include "content/common/content_security_policy_header.h" |
| 6 |
| 7 namespace content { |
| 8 |
| 9 ContentSecurityPolicyHeader::ContentSecurityPolicyHeader() |
| 10 : header_value(std::string()), |
| 11 type(blink::WebContentSecurityPolicyTypeEnforce), |
| 12 source(blink::WebContentSecurityPolicySourceHTTP) {} |
| 13 |
| 14 ContentSecurityPolicyHeader::ContentSecurityPolicyHeader( |
| 15 const std::string& header_value, |
| 16 blink::WebContentSecurityPolicyType type, |
| 17 blink::WebContentSecurityPolicySource source) |
| 18 : header_value(header_value), type(type), source(source) {} |
| 19 |
| 20 } // namespace content |
OLD | NEW |