[ParsedHeaders](1/n) Move SW CSP parsing to http_parser.
On 2019-09-27, lfg@ added support for parsing CSP for navigation response provided by the ServiceWorker. See https://chromium-review.googlesource.com/c/chromium/src/+/1819631 This patch is an alternative version of: https://chromium-review.googlesource.com/c/chromium/src/+/2126933 What is not kept: 0) Automatically convert blink/non-blink typed using mojo. As a result all the ConvertToBlink functions remained. What is kept: 1) Move the part from the ServiceWorker about parsing CSP toward the blink http_parser. 2) Use the HttpResponseHeader instead of the HTTP field values. This will help with ParsedHeader in the following patch: https://chromium-review.googlesource.com/c/chromium/src/+/2122647/11 Bug: 1063832 Change-Id: I7721e846f0fd14b6a8517d25b4e9cd39d0c77061 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134246 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Lucas Gadani <lfg@chromium.org> Cr-Commit-Position: refs/heads/master@{#757002}
Showing
Please register or sign in to comment