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

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

Issue 1142593002: Generalize volume configuration over all volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the configure test. Created 5 years, 7 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/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 674d53c6151ebea8a5d75a87d91a7e1114f1e73d..a57a79b0a62303c20b4a97f64aff814bf48df1a2 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
@@ -1375,10 +1375,8 @@ CommandHandler.COMMANDS_['configure'] = (function() {
*/
execute: function(event, fileManager) {
var volumeInfo = this.getCommandVolumeInfo_(event, fileManager);
- if (volumeInfo && volumeInfo.configurable) {
- fileManager.providersModel.requestConfigure(
- assert(volumeInfo.extensionId));
- }
+ if (volumeInfo && volumeInfo.configurable)
+ fileManager.volumeManager.configure(volumeInfo);
},
/**

Powered by Google App Engine
This is Rietveld 408576698