Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Issue 964533003: Files.app: Fix task cancellation. (Closed)

Created:
5 years, 9 months ago by Steve McKay
Modified:
5 years, 9 months ago
Reviewers:
CC:
chromium-reviews, tfarina, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2311
Target Ref:
refs/pending/branch-heads/2311
Project:
chromium
Visibility:
Public.

Description

Files.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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -38 lines) Patch
M ui/file_manager/file_manager/background/js/media_import_handler.js View 5 chunks +16 lines, -19 lines 0 comments Download
M ui/file_manager/file_manager/background/js/media_import_handler_unittest.js View 9 chunks +76 lines, -5 lines 0 comments Download
M ui/file_manager/file_manager/background/js/task_queue.js View 3 chunks +4 lines, -3 lines 0 comments Download
M ui/file_manager/file_manager/background/js/task_queue_unittest.js View 8 chunks +38 lines, -11 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Steve McKay
5 years, 9 months ago (2015-02-26 20:07:23 UTC) #1
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
417ae4e540cfbb3570b2687c1544d59e73f640ce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698