[Offline Pages] Convert Download Suggestions Provider 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 Review-Url: https://codereview.chromium.org/2555013003 Cr-Commit-Position: refs/heads/master@{#437616}
Showing
Please register or sign in to comment