DescriptionFiles.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. #
Messages
Total messages: 17 (6 generated)
|