OLD | NEW |
| (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_ | |
OLD | NEW |