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

Unified Diff: ui/file_manager/file_manager/background/js/media_import_handler.js

Issue 1022213002: Add a cancel button to the details panel...visible when import is active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/background/js/media_import_handler.js
diff --git a/ui/file_manager/file_manager/background/js/media_import_handler.js b/ui/file_manager/file_manager/background/js/media_import_handler.js
index a796cf5034723b492522690d61d4437b372a999c..38472ef0403e223c2c4830933789aad13d338991 100644
--- a/ui/file_manager/file_manager/background/js/media_import_handler.js
+++ b/ui/file_manager/file_manager/background/js/media_import_handler.js
@@ -298,7 +298,7 @@ importer.MediaImportHandler.ImportTask.prototype.importOne_ =
function(destinationDirectory, completionCallback, entry) {
if (this.canceled_) {
this.notify(importer.TaskQueue.UpdateType.CANCELED);
- this.tracker_.send(metrics.ImportEvents.CANCELLED);
+ this.tracker_.send(metrics.ImportEvents.IMPORT_CANCELLED);
this.sendImportStats_();
return;
}

Powered by Google App Engine
This is Rietveld 408576698