DescriptionSuggestionsService undo blacklist functionality.
This CL introduces functionality to undo the blacklisting of a URL,
assuming a UI which allows for undo-ing for a few seconds after
blacklisting. The design consists in deffering blacklisted URL uploads
until they can no longer be undone, which is the simplest case.
Changes:
- BlacklistStore now has a concept of time before a URL is candidate for upload
- SuggestionsService now schedules blacklist uploads factoring in the delay
BUG=430949
Committed: https://crrev.com/3f7d74078e457ddfaf2bf07d1a78131249febc13
Cr-Commit-Position: refs/heads/master@{#307158}
Patch Set 1 #Patch Set 2 : GetTimeUntilReadyForUpload should not return negative values #
Total comments: 22
Patch Set 3 : Address Mathieu's comments. #
Total comments: 6
Patch Set 4 : Address Mathieu's second round of comments. #Patch Set 5 : Fix pre-existing chromium-style issue. #Patch Set 6 : Fix uninitialized test variable #
Messages
Total messages: 28 (7 generated)
|