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

Unified Diff: ui/file_manager/file_manager/foreground/js/import_controller.js

Issue 876203003: Don't navigate to destination on import. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/import_controller_unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/import_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller.js b/ui/file_manager/file_manager/foreground/js/import_controller.js
index 8c3be8059ee25dd12c7eac2e2b972ad84d4b0c15..4f7170b85b51fa4771d874bc438a2e9f9db877c2 100644
--- a/ui/file_manager/file_manager/foreground/js/import_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/import_controller.js
@@ -103,14 +103,6 @@ importer.ImportController.prototype.execute = function() {
metrics.recordEnum('CloudImport.UserAction', 'IMPORT_INITIATED');
var result = this.getScanForImport_();
var importTask = this.importRunner_.importFromScanResult(result);
-
- importTask.getDestination().then(
- /**
- * @param {!DirectoryEntry} destination
- */
- function(destination) {
- this.environment_.setCurrentDirectory(destination);
- }.bind(this));
};
/**
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/import_controller_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698