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

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

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
« no previous file with comments | « content/common/content_security_policy_header.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/common/content_security_policy_header.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698