ServiceWorkerInstalledScriptsManager handles all installed scripts
As a step of removing SWReadFromCacheJob, this patch adds a path to get the same installed scripts multiple times. WebServiceWorkerInstalledScriptsManager asks the browser if the script has already been taken, and the browser side counterpart (SWInstalledScriptsSender) sends the script after streaming all of scripts. This is not optimal for sites which importing the same script multiple times, but it simplifies the code. Bug: 756312 Change-Id: I8d8c03fe8488367b5aa1b8d2c02e13a5f25e676e Reviewed-on: https://chromium-review.googlesource.com/697165 Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#509712}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment