blob: fcad2fa1358f34ef55263c30bcac1ff9680236ee [file] [log] [blame]
// 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::kWebContentSecurityPolicyTypeEnforce),
source(blink::kWebContentSecurityPolicySourceHTTP) {}
ContentSecurityPolicyHeader::ContentSecurityPolicyHeader(
const std::string& header_value,
blink::WebContentSecurityPolicyType type,
blink::WebContentSecurityPolicySource source)
: header_value(header_value), type(type), source(source) {}
} // namespace content