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

Side by Side Diff: content/common/content_security_policy_header.cc

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Nit. Created 3 years, 9 months 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698