commit | 3f6722ad807320d7ba5652f54471f3ab27b27ff2 | [log] [tgz] |
---|---|---|
author | Francois Doray <fdoray@chromium.org> | Fri Nov 24 20:03:51 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 24 20:03:51 2017 |
tree | 000dc0a37ec75c1ec5a4f5a0cd20e7bf93574749 | |
parent | a3cf56a721ee0e4e51debbdd87e4da681f976d2a [diff] |
Add resource_coordinator::LifecycleUnitSourceObserver. LifecycleUnitSourceObserver is an interface to be notified when LifecycleUnits are created and destroyed. This interface will be implemented by TabManager (to be renamed to LifecycleManager). For LifecycleUnit discarding, TabManager could have polled information about LifecycleUnits when needed instead of receiving notifications via a LifecycleUnitSourceObserver interface. However, once background tab loading starts using LifecycleUnits, TabManager will have to react to some LifecycleUnit events (e.g. start loading another LifecycleUnit when a LifecycleUnit finishes to load). We prefer having the push interface right away. Bug: 775644 Change-Id: I943452b2b903fc012084618805b17d1fd82ab73c Reviewed-on: https://chromium-review.googlesource.com/779744 Reviewed-by: Chris Hamilton <chrisha@chromium.org> Commit-Queue: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#519156}
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 .