CSP: Use map for CSP source list directives in blink
This is a small refactoring of the code in blink::CSPDirectiveList. Instead of storing the source list directives as separate members, we put them in a map. 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: I5936d73aa0cb83530565c88341395a51a092cfba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593641 Commit-Queue: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by:Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#843450}
Showing
This diff is collapsed.
Please register or sign in to comment