AppCache: Reduce dependencies on DocumentLoader from ApplicationCacheHost for shared workers (3)
In the current implementation, WorkerShadowPage provides DocumentLoader to ApplicationCacheHost for shared workers. This blocks WorkerShadowPage removal (see the issue). To unblock it, this series of CLs reduce dependencies on DocumentLoader from ApplicationCacheHost for shared workers. This CL moves ApplicationCacheHost::NotifyApplicationCache() to ApplicationCacheHostForFrame. That function is called for dispatching DOMEvent related appcache, but it's not necessary for shared workers because shared workers don't have any appcache interfaces. Bug: 982996 Change-Id: I019ee6df5850408b160bd09663be246071bb0c48 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1722135Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#681900}
Showing
Please register or sign in to comment