Update chrome:// host whitelisting with the network service enabled.
For component platform apps, favicon, extension-icon, resources and theme hosts are whitelisted for the chrome scheme. However, in the network-service-enabled codepath, at most two of those hosts are passed in |allowed_webui_hosts|, leaving out the other two for component platform apps. Change the structure to more-closely match the non-network-service codepath, whitelisting the four hosts when appropriate. Bug: 837328 Change-Id: Ib10e8fa2dcca0cf77be565bab3ebf9dd87daf188 Reviewed-on: https://chromium-review.googlesource.com/1201510Reviewed-by:Anand Mistry <amistry@chromium.org> Commit-Queue: Sam McNally <sammc@chromium.org> Cr-Commit-Position: refs/heads/master@{#588326}
Showing
Please register or sign in to comment