Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UpdateToolbarButtonState simplified to receive a summary
Chromium change: https://chromium.googlesource.com/chromium/src/+/e1a48ccd6d3ea6fb6bd8a9d82cecd4cad1b3a202 commit e1a48ccd6d3ea6fb6bd8a9d82cecd4cad1b3a202 Author: Lily Chen <[email protected]> Date: Fri Apr 21 20:11:47 2023 +0000 [DownloadBubble] Compute info relevant to button state in update service This moves the computation of the AllDownloadUIModelsInfo from the per-window DownloadDisplayController to the per-profile DownloadBubbleUpdateService. This avoids redundant fetching of models from the update service, which is expensive and potentially causes jank while downloading files, since the models are not needed (just the info about them) in order to update the button state. Bug: 1434670
- Loading branch information