| 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 dea5ed1b78524043384bc1eedb734a148f517746..4e1217f5351d21553199ee03e8cdc0e3864f953e 100644
|
| --- a/content/renderer/content_security_policy_util.h
|
| +++ b/content/renderer/content_security_policy_util.h
|
| @@ -5,18 +5,22 @@
|
| #ifndef CONTENT_RENDERER_CONTENT_SECURITY_POLICY_UTIL_H_
|
| #define CONTENT_RENDERER_CONTENT_SECURITY_POLICY_UTIL_H_
|
|
|
| +#include "content/common/content_security_policy/csp_context.h"
|
| #include "content/common/content_security_policy/csp_policy.h"
|
| -
|
| -namespace blink {
|
| -struct WebContentSecurityPolicyPolicy;
|
| -} // namespace blink
|
| +#include "third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h"
|
|
|
| namespace content {
|
|
|
| -// Convert a WebContentSecurityPolicy into a CSPPolicy, these two classes are
|
| -// the reflection of each other. One in content, the other in blink.
|
| +// Convert a WebContentSecurityPolicy into a CSPPolicy. These two classes
|
| +// represent the exact same thing, but one is in content, the other is in blink.
|
| CSPPolicy BuildCSPPolicy(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
|
|
|
| #endif /* CONTENT_RENDERER_CONTENT_SECURITY_POLICY_UTIL_H_ */
|
|
|