PlzWorker: Support AppCache's fallback case for shared workers
This CL makes SharedWorkerScriptFetcher ask network interceptors if they want to handle a response served by the default network loader. This is necessary for supporting AppCache's fallback. A possible confusing point of this CL is SharedWorkerScriptFetcher::OnReceiveResponse() can be called twice. First, it's called when the interceptor or the default network loader serves the shared worker's main script. Then, it's called again when the interceptor wants to serve an alternative response for the response served by the default network loader. Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I93b45fa1f2e42422c0e85d3a67471c891dc5992a Bug: 715632 Reviewed-on: https://chromium-review.googlesource.com/c/1224611Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#596122}
Showing
Please register or sign in to comment