Index: ui/file_manager/file_manager/foreground/js/file_manager_commands.js |
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js |
index f995f58db0900d7d71fe5f2a82cfe7d507a1ed94..ac29e6db37fe84b53dec4caa2a7760bbac996c9b 100644 |
--- a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js |
+++ b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js |
@@ -1018,36 +1018,6 @@ CommandHandler.COMMANDS_['share'] = /** @type {Command} */ ({ |
}); |
/** |
- * Initiates cloud import. |
- * @type {Command} |
- */ |
-CommandHandler.COMMANDS_['cloud-import'] = /** @type {Command} */ ({ |
- /** |
- * @param {!Event} event Command event. |
- * @param {!FileManager} fileManager |
- */ |
- execute: function(event, fileManager) { |
- console.assert(fileManager.importController !== null); |
- fileManager.importController.execute(); |
- }, |
- /** |
- * @param {!Event} event Command event. |
- * @param {!FileManager} fileManager |
- */ |
- canExecute: function(event, fileManager) { |
- if (fileManager.importController) { |
- var response = fileManager.importController.getCommandUpdate(); |
- event.command.label = response.label; |
- event.canExecute = response.executable; |
- event.command.setHidden(!response.visible); |
- } else { |
- event.canExecute = false; |
- event.command.setHidden(true); |
- } |
- } |
-}); |
- |
-/** |
* Creates a shortcut of the selected folder (single only). |
* @type {Command} |
*/ |