commit | 130be1c380e444e53a2e25302f50629af94682a5 | [log] [tgz] |
---|---|---|
author | momohatt <momohatt@google.com> | Thu Sep 13 12:18:08 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Sep 13 12:18:08 2018 |
tree | 2e5d9c766926cdd738f99c695d816cf4bee0f519 | |
parent | 18fec7eefade4918260ae43db81e2b0daf0c2ac1 [diff] |
Add ServiceWorkerSingleScriptUpdateChecker This patch adds a new class called ServiceWorkerSingleScriptUpdateChecker, and makes ServiceWorkerUpdateChecker call this class. This new class currently calls UpdateChecker's method unconditionally, but following patches will implement these to SWSingleScriptUpdateChecker: * collect stored scripts which are used in the version to update * load the counterpart of the stored scripts from network * compare the stored scripts and the loaded scripts one by one * when detected any changes, pause the comparison and stop the entire update check Bug: 648295 Change-Id: I23835fa62838b9c1a979e7ae96f296de6b6ff074 Reviewed-on: https://chromium-review.googlesource.com/1220854 Commit-Queue: Momoko Hattori <momohatt@google.com> Reviewed-by: Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#590979}
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 .