DescriptionRefactor OfflinePageSuggestionsProvider dismissed ID handling
Remove the members storing the IDs; access prefs directly instead.
Change the read and store methods to take the category as a parameter
to simplify the calling code.
Move suggestion invalidation out of OfflinePageDeleted into a
dedicated helper method to avoid code duplication.
BUG=628198
Committed: https://crrev.com/0ad1a7e948c22a60d3f640205c2da2efffcd6113
Cr-Commit-Position: refs/heads/master@{#412823}
Patch Set 1 #Patch Set 2 : Fire OnSuggestionInvalidated even if previously dismissed #
Total comments: 4
Patch Set 3 : Clean up dismissed IDs when loading new offline page suggestions #
Total comments: 10
Patch Set 4 : Rebase #Patch Set 5 : Marc's comments #Patch Set 6 : Ignore this patch set. #Patch Set 7 : Roll back to Patch Set 5 #
Total comments: 2
Patch Set 8 : Rebase #
Depends on Patchset: Messages
Total messages: 19 (8 generated)
|