commit | c18114e4c88b7e3dffd1e1533e3e9ad428359172 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Thu Dec 20 09:18:35 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 20 09:18:35 2018 |
tree | 272f49f2c544f74a3cedc098d8d9e6bdc4ae3b00 | |
parent | f5a38953cb0817f29cae53c9ae16563e71da9a0b [diff] |
service worker: Add a way to notify a service worker schedules idle tasks We are going to add a mode to generate eager code cache in a idle task. To avoid a service worker from being asked to terminate until the idle task is finished, we need a way to let ServiceWorkerContextClient know there is a task to be executed. This CL adds code to plumb such information. This CL doesn't have behavioral changes. Follow-up CL implements an actual idle task. Bug: 915081 Change-Id: I93e89887f08c126746ba2ef0dcace115466ab66c Reviewed-on: https://chromium-review.googlesource.com/c/1381358 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#618147}
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 .