Index: content/common/content_security_policy_header.h |
diff --git a/content/common/content_security_policy_header.h b/content/common/content_security_policy_header.h |
index cef4e066417ff81826bb743417e65b4781964a3f..e4b65d38c88159bf3ffbf4106474ddfbae5bd006 100644 |
--- a/content/common/content_security_policy_header.h |
+++ b/content/common/content_security_policy_header.h |
@@ -6,6 +6,8 @@ |
#define CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_ |
#include <string> |
+ |
+#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/WebContentSecurityPolicy.h" |
namespace content { |
@@ -13,7 +15,12 @@ namespace content { |
// Represents a single Content Security Policy header (i.e. coming from |
// a single Content-Security-Policy header in an HTTP response, or from |
// a single <meta http-equiv="Content-Security-Policy"...> element). |
-struct ContentSecurityPolicyHeader { |
+struct CONTENT_EXPORT ContentSecurityPolicyHeader { |
+ ContentSecurityPolicyHeader(); |
+ ContentSecurityPolicyHeader(const std::string& header_value, |
+ blink::WebContentSecurityPolicyType type, |
+ blink::WebContentSecurityPolicySource source); |
+ |
std::string header_value; |
blink::WebContentSecurityPolicyType type; |
blink::WebContentSecurityPolicySource source; |