CSP: Use mojo enum for 'require-trusted-types-for' directive in blink
In the Blink Content Security Policy code, we switch from using the internal blink type blink::RequireTrustedTypesForDirective to using the mojo enum network::mojom::blink::CSPRequireTrustedTypesFor for parsing the directive 'require-trusted-types-for'. This is part of a project to harmonize the CSP code in Blink and in services/network, and will make it easier to synchronize Content Security Policies between the two. Bug: 1021462,1149272 Change-Id: I7e4107df7fb34126a90222b7a5d7b301f5d989b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2572841 Commit-Queue: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by:Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#837541}
Showing
Please register or sign in to comment