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

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

Issue 1068653002: Extract some logic from SuggestAppsDialog to a separate class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 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 980f2887a3b0b286222b4f4c7262d9c6baf87769..070b1cd2a93356d6318997bda1e8c57df07a7089 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
@@ -1257,7 +1257,7 @@ CommandHandler.COMMANDS_['add-new-services'] = /** @type {Command} */ ({
function(result, itemId) {
// If a new provider is installed, then launch it so the configuration
// dialog is shown (if it's available).
- if (result === SuggestAppsDialog.Result.INSTALL_SUCCESSFUL)
+ if (result === SuggestAppsDialog.Result.SUCCESS)
chrome.management.launchApp(assert(itemId), function() {});
});
},

Powered by Google App Engine
This is Rietveld 408576698