commit | f24d40940a76b0ec817d5e3c54ea0718e4ee887a | [log] [tgz] |
---|---|---|
author | momohatt <momohatt@google.com> | Tue Sep 11 10:52:43 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 11 10:52:43 2018 |
tree | 127c6b9d6ab97dbb324f0620786142a2f7876344 | |
parent | 7f9ed80cdce16f9fa8878d24d9191a471b085b57 [diff] |
Add ServiceWorkerUpdateChecker This patch adds a new class called ServiceWorkerUpdateChecker and makes ServiceWorkerRegisterJob use this class. The new class has a method called Start(), which takes a callback as an argument and triggers it only when the scripts had any changes to update. Currently this method runs the callback unconditionally, but following patches will implement script loading and comparison with the stored resources. Bug: 648295 Change-Id: Iebbe85b6d5e5cdab27c23873b04811626b5abad0 Reviewed-on: https://chromium-review.googlesource.com/1215458 Commit-Queue: Momoko Hattori <momohatt@google.com> Reviewed-by: Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#590260}
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 .