commit | 500d443e6d286b56c89a49366bab166ebcf3dc86 | [log] [tgz] |
---|---|---|
author | Wez <wez@chromium.org> | Fri Mar 08 18:12:49 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 08 18:12:49 2019 |
tree | 1efcee3f9fdbc5ae28317fbbb30a27ca0680901b | |
parent | 0e1ea5222d4a0d73c9ca0c68bc36c01141721f0a [diff] |
[Fuchsia] Add helper for the Modular Lifecycle protocol. Components (including Runners, Agents and mods) have their lifecycle controlled by the framework via a Lifecycle protocol, which provides APIs to request graceful teardown. We provide a LifecycleImpl helper implementing the Modular Lifecycle protocol, which runs a caller-supplied |on_terminate| closure when Lifecycle::Terminate() is called. Bug: 852145, 931337 Change-Id: Ib323384383987a8d02aacc9632e25415f1df3400 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497858 Reviewed-by: Kevin Marshall <kmarshall@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#639070}
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 .