service worker: Check content settings from the UI interceptor.

The UI interceptor still bounces to the IO interceptor, which needs
a resource context to check the content settings. The goal is
still to move all of this to the UI thread, but this enables the
test to pass now when NavigationLoaderOnUI is enabled.

Bug: 824858
Change-Id: I3262ae3220b7d5857487864dd5e7ffe69a875fc3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1707630
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#678614}
3 files changed