DescriptionFiles.app: Fix task cancellation.
- Fix the task queue so that cancelling a task doesn't leave it hanging out in the queue, which then will jam everything up.
- Fix the error code so that errors are handled consistently (and are non-terminal, as they should be)
- Rename UpdateType.SUCCESS to UpdateType.COMPLETE. This better reflects the fact that errors can occur during an import task but the task still runs to completion.
BUG=460597
Review URL: https://codereview.chromium.org/947583002
Cr-Commit-Position: refs/heads/master@{#317538}
(cherry picked from commit fb5551a709a997209e1504d0eacc8562c1740f03)
TBR=mtomasz
Committed: https://chromium.googlesource.com/chromium/src/+/417ae4e540cfbb3570b2687c1544d59e73f640ce
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|