DescriptionPrevent unnecessary dismissal retries. We stop retrying a dismissal if:
1. The response from the server indicates that retrying is hopeless;
2. We kept retrying for 1 day.
BUG=164227
TEST=Disconnect network and dismiss a notification. Observe the console output. Make sure that dismissal attempts continue for 1 day and then stop. (Of course, you don't have to run this test on every Canary release :))
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212497
Patch Set 1 #
Total comments: 6
Patch Set 2 : skare@ notes #Patch Set 3 : rgustafson's notes #
Total comments: 1
Messages
Total messages: 12 (0 generated)
|