Chromium Code Reviews
Description[Offline Pages] Convert Download UI Adapter to using OfflinePageAdded
Recently OfflinePageModelChanged was renamed to OfflinePageAdded to reflect
the reality of when that function was being called. As a result, the
OfflinePageAdded function now receives as a parameter the OfflinePageItem
that was added. This allows for a much simpler observer function that
directly operates on the new page in the download cache.
BUG=638276
Committed: https://crrev.com/00c85a032fea6997e8b14e88b288d19618e62b15
Cr-Commit-Position: refs/heads/master@{#437267}
Patch Set 1 #Patch Set 2 : fix test #Patch Set 3 : rebase #
Depends on Patchset: Messages
Total messages: 23 (18 generated)
|
|||||||||||||||||||||||||||||||||||||