service worker: Assign new resource ID outside ServiceWorkerNewScriptLoader
Resource ID allocation will become async (see the planning doc[1]). As a preparation, this CL moves resource ID allocation from ServiceWorkerNewScriptLoader to ServiceWorkerScriptLoaderFactory. Once resource ID allocation becomes async the factory will create ServiceWorkerNewScriptLoader asynchronously. [1] https://docs.google.com/document/d/1j0WP5wsenJISViJzhngSJG3hKcIf39KbfRgCbzgWt5A/edit?usp=sharing Bug: 1046335 Change-Id: Ia6618085ec4e9413f670e75fe2d074736906a623 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2041677Reviewed-by:Matt Falkenhagen <falken@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#739251}
Showing
Please register or sign in to comment