commit | ab6a9b9d2a9b83dabfe6cb6f39763f3013ca8d24 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@chromium.org> | Wed Jan 09 03:57:15 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 09 03:57:15 2019 |
tree | 6e00a478d16fa535827cad9f315b6d7b0159b95f | |
parent | 9ef8913d3353ca23cc7844205962fe62c25c842c [diff] |
Let AppRegistryCache.OnApps recurse Having cache.OnApps notifying observer.OnAppsUpdate calling cache.OnApps should be pretty rare, but if it does happen, we should behave sensibly. Sensibly includes maintaining the consistency condition that if calling cache.ForEachApp or cache.ForOneApp, the AppRegistryCache should present a consistent view of the world: the inner and outer AppUpdate's should be equal. Sensibly also includes that delta's passed to OnApps should be processed in FIFO, not LIFO order. Each delta builds on the sum of previous ones. BUG=826982 Change-Id: I99b99b99176dd0afff6281814c0a20a025b9d462 Reviewed-on: https://chromium-review.googlesource.com/c/1388348 Commit-Queue: Nigel Tao <nigeltao@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#621041}
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 .