commit | ca69fde398277c0bf81225f1521d93cdf1f97e0f | [log] [tgz] |
---|---|---|
author | Hiroki Nakagawa <nhiroki@chromium.org> | Mon Nov 26 09:28:27 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 26 09:28:27 2018 |
tree | 6123cff0240ec4589dfda212bec6bc9d0ccd7d8d | |
parent | 9edd08670b9d57dd5789253ef24d385377de8bc1 [diff] |
PlzWorker: Factor out loader setup code from SharedWorkerServiceImpl to WorkerScriptFetchInitiator As a preparation of PlzDedicatedWorker, this CL makes browser-side loader classes for PlzSharedWorker reusable for PlzDedicatedWorker. Specifically, this CL introduces WorkerScriptFetchInitiator that is a static class to abstract SharedWorkerScriptFetcher and SharedWorkerScriptLoader. This doesn't change functional behavior. WorkerScriptFetchInitiator is now used only by SharedWorkerServiceImpl, but it will also be used by DedicatedWorkerHost in a follow-up CL. Next plan: Rename SharedWorkerScriptFetcher and SharedWorkerScriptLoader to WorkerScriptFetcher and WorkerScriptLoader respectively, and remove shared worker specific code from WorkerScriptFetchInitiator. See the design doc for details: https://docs.google.com/document/d/1fWsD0oIa5sNDfUFWGJZ41pDo3zzsbFGyQSNdV8nOG4I/edit?usp=sharing Change-Id: Iae37ebb8fec6f0843df4c11fac8c9d8abe5b6667 Bug: 906991 Reviewed-on: https://chromium-review.googlesource.com/c/1345704 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#610790}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .