Index: content/renderer/content_security_policy_util.h |
diff --git a/content/renderer/content_security_policy_util.h b/content/renderer/content_security_policy_util.h |
index 03fc62ce7ef4ea7c2f55614e2b288753638401ce..30858d85dd20fd9818e16ec2ae795a1c490d7e0a 100644 |
--- a/content/renderer/content_security_policy_util.h |
+++ b/content/renderer/content_security_policy_util.h |
@@ -6,22 +6,17 @@ |
#define CONTENT_RENDERER_CONTENT_SECURITY_POLICY_UTIL_H_ |
#include "content/common/content_security_policy/content_security_policy.h" |
-#include "content/common/content_security_policy/csp_context.h" |
-#include "third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h" |
+ |
+namespace blink { |
+struct WebContentSecurityPolicyPolicy; |
+} // namespace blink |
namespace content { |
-// Convert a WebContentSecurityPolicy into a ContentSecurityPolicy. These two |
-// classes represent the exact same thing, but one is in content, the other is |
-// in blink. |
+// Convert a WebContentSecurityPolicy into a ContentSecurityPolicy, these two |
+// classes are the reflection of each other. One in content, the other in blink. |
ContentSecurityPolicy BuildContentSecurityPolicy( |
const blink::WebContentSecurityPolicyPolicy&); |
- |
-// Convert a CSPViolationParams into a WebContentSecurityPolicyViolation. These |
-// two classes represent the exact same thing, but one is in content, the other |
-// is in blink. |
-blink::WebContentSecurityPolicyViolation BuildWebContentSecurityPolicyViolation( |
- const content::CSPViolationParams& violation_params); |
} // namespace content |