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

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

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/suggest_apps_dialog.js
diff --git a/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js b/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
index f5a46e7806a2ee9b4b7ef661b732e352aa399de5..8a279fe4a2b2a0a10763c5cb4f5d4d0336c070f8 100644
--- a/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
+++ b/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
@@ -386,21 +386,21 @@ SuggestAppsDialog.prototype.onInstallCompleted_ = function(result, error) {
this.installingItemId_ = null;
switch (result) {
- case AppInstaller.Result.SUCCESS:
- SuggestAppsDialog.Metrics.recordInstall(
- SuggestAppsDialog.Metrics.INSTALL.SUCCESS);
- this.hide();
- break;
- case AppInstaller.Result.CANCELLED:
- SuggestAppsDialog.Metrics.recordInstall(
- SuggestAppsDialog.Metrics.INSTALL.CANCELLED);
- // User cancelled the installation. Do nothing.
- break;
- case AppInstaller.Result.ERROR:
- SuggestAppsDialog.Metrics.recordInstall(
- SuggestAppsDialog.Metrics.INSTALL.FAILED);
- fileManager.error.show(str('SUGGEST_DIALOG_INSTALLATION_FAILED'));
- break;
+ case AppInstaller.Result.SUCCESS:
+ SuggestAppsDialog.Metrics.recordInstall(
+ SuggestAppsDialog.Metrics.INSTALL.SUCCESS);
+ this.hide();
+ break;
+ case AppInstaller.Result.CANCELLED:
+ SuggestAppsDialog.Metrics.recordInstall(
+ SuggestAppsDialog.Metrics.INSTALL.CANCELLED);
+ // User cancelled the installation. Do nothing.
+ break;
+ case AppInstaller.Result.ERROR:
+ SuggestAppsDialog.Metrics.recordInstall(
+ SuggestAppsDialog.Metrics.INSTALL.FAILED);
+ fileManager.error.show(str('SUGGEST_DIALOG_INSTALLATION_FAILED'));
+ break;
}
};

Powered by Google App Engine
This is Rietveld 408576698