Revert "Don't send download pings if the download is cancelled"
This reverts commit 053ca6cc. Reason for revert: Findit (https://goo.gl/kROfz5) identified CL at revision 630043 as the culprit for flakes in the build cycles as shown on: https://findit-for-me.appspot.com/waterfall/flake/flake-culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyQwsSDEZsYWtlQ3VscHJpdCIxY2hyb21pdW0vMDUzY2E2Y2M2ZjJhZTZhNGE3M2E5YzczZDgxNDNlYjlmMWYxNzFiMww Sample Failed Build: https://ci.chromium.org/buildbot/chromium.mac/Mac10.11%20Tests/33780 Sample Failed Step: unit_tests on (none) GPU on Mac on Mac-10.11 Sample Flaky Test: DownloadProtectionServiceTest.DoesNotSendPingForCancelledDownloads Original change's description: > Don't send download pings if the download is cancelled > > There's a small race condition where, if the download is cancelled > before we send a download ping, when we notify the > IncidentReportingService, we'll fail a DCHECK, since the > IncidentReportingService expects us to only send pings for IN_PROGRESS > or COMPLETED downloads. > > Change-Id: If9e5647f2e60f19f0469f51709990ae8226cd5ee > Reviewed-on: https://chromium-review.googlesource.com/c/1457672 > Commit-Queue: Daniel Rubery <drubery@chromium.org> > Reviewed-by: Nathan Parker <nparker@chromium.org> > Cr-Commit-Position: refs/heads/master@{#630043} Change-Id: I6c21ce34cdebe86bbf7c877f774e9d3f2ff0f59e No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/1459794 Cr-Commit-Position: refs/heads/master@{#630090}
Showing
Please register or sign in to comment