CSP: Simplify conversion to WebContentSecurityPolicy
With this CL we store directives names in WebContentSecurityPolicy using the enum network::mojom::CSPDirectiveName instead of using strings. This small changes simplifies the type conversion network::mojom::blink::ContentSecurityPolicy -> WebContentSecurityPolicy -> network::mojom::ContentSecurityPolicy. Bug: 1021462,1149272 Change-Id: I1a28f0be010ff054d3259d733e0fdc2651057d77 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2607888Reviewed-by:Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Commit-Queue: Antonio Sartori <antoniosartori@chromium.org> Cr-Commit-Position: refs/heads/master@{#843521}
Showing
Please register or sign in to comment