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

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

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2016 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 #ifndef CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
6 #define CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
7
8 #include <string>
9 #include "third_party/WebKit/public/web/WebContentSecurityPolicy.h"
10
11 namespace content {
12
13 // Represents a single Content Security Policy header (i.e. coming from
14 // a single Content-Security-Policy header in an HTTP response, or from
15 // a single <meta http-equiv="Content-Security-Policy"...> element).
16 struct ContentSecurityPolicyHeader {
17 std::string header_value;
18 blink::WebContentSecurityPolicyType type;
19 blink::WebContentSecurityPolicySource source;
20 };
21
22 } // namespace content
23
24 #endif // CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698