Chromium Code Reviews
Description[Downloads] Add support for tracking incomplete downloads
* Start tracking most DownloadItems on the Java side, but
display only completed downloads in the UI.
* Start monitoring for the creation of DownloadItems, which
happens when new downloads are triggered.
* Change how deletion is done and undone:
Instead of straight up removing items from the adapter,
hide the DownloadItems from view until we are alerted that
the downloads have been deleted by the backends. This
allows us to keep track and simplifies a few data structure
interactions.
* Add proper support for monitoring changes to DownloadItems,
and add functions for checking if updates should be
communicated to the UI.
BUG=658246, 654630
Committed: https://crrev.com/13fa9f45a129fb1404d39b11e30fa911dbc534f8
Cr-Commit-Position: refs/heads/master@{#433287}
Patch Set 1 #Patch Set 2 : Remove unnecessary function #Messages
Total messages: 11 (5 generated)
|