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

Issue 846903004: Files.app: Implement media import cancellation. (Closed)

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

Description

Files.app: Implement media import cancellation. Add a cancellation callback so that the active import task is cancelled when the user clicks on the cancel button in the progress notification. BUG=420680 TEST=browser_test: FileManagerJsTest.MediaImportHandlerTest Committed: https://crrev.com/3e53fe55d93d5557ffd6c99b2d1c3ea34dbbaad8 Cr-Commit-Position: refs/heads/master@{#311516}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address feedback. #

Patch Set 3 : Sync to master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -86 lines) Patch
M ui/file_manager/file_manager/background/js/media_import_handler.js View 1 2 8 chunks +39 lines, -40 lines 0 comments Download
M ui/file_manager/file_manager/background/js/media_import_handler_unittest.js View 1 7 chunks +163 lines, -45 lines 0 comments Download
M ui/file_manager/file_manager/background/js/task_queue.js View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
Ben Kwa
5 years, 11 months ago (2015-01-12 23:40:27 UTC) #2
Steve McKay
LGTM. And this makes a good guide CL for implementing cancel on unmount.
5 years, 11 months ago (2015-01-13 00:13:01 UTC) #3
mtomasz
Please keep the CL title the same as the first line of the CL description, ...
5 years, 11 months ago (2015-01-13 00:27:42 UTC) #4
Ben Kwa
New patch contains a bit of noise in the diff vs patch 1, because of ...
5 years, 11 months ago (2015-01-13 18:17:52 UTC) #7
Ben Kwa
https://codereview.chromium.org/846903004/diff/1/ui/file_manager/file_manager/background/js/media_import_handler.js File ui/file_manager/file_manager/background/js/media_import_handler.js (right): https://codereview.chromium.org/846903004/diff/1/ui/file_manager/file_manager/background/js/media_import_handler.js#newcode234 ui/file_manager/file_manager/background/js/media_import_handler.js:234: this.cancelCallback_(); On 2015/01/13 18:17:52, Ben Kwa wrote: > On ...
5 years, 11 months ago (2015-01-13 18:18:53 UTC) #8
mtomasz
lgtm
5 years, 11 months ago (2015-01-14 00:36:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/846903004/60001
5 years, 11 months ago (2015-01-14 14:51:53 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/37520) android_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_rel/builds/5640) chromium_presubmit ...
5 years, 11 months ago (2015-01-14 14:54:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/846903004/80001
5 years, 11 months ago (2015-01-14 17:23:24 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 11 months ago (2015-01-14 18:23:13 UTC) #16
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 18:24:12 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e53fe55d93d5557ffd6c99b2d1c3ea34dbbaad8
Cr-Commit-Position: refs/heads/master@{#311516}

Powered by Google App Engine
This is Rietveld 408576698