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

Unified Diff: chrome/browser/resources/md_user_manager/import_supervised_user.js

Issue 2223743003: MD User Manager: Changes to 'import supervised users' dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 4 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: chrome/browser/resources/md_user_manager/import_supervised_user.js
diff --git a/chrome/browser/resources/md_user_manager/import_supervised_user.js b/chrome/browser/resources/md_user_manager/import_supervised_user.js
index f35c55e20779ca34975ac3b5442b4993e7f2a3fb..c572419b3e8da5cddd413dc744383d6f86c81a48 100644
--- a/chrome/browser/resources/md_user_manager/import_supervised_user.js
+++ b/chrome/browser/resources/md_user_manager/import_supervised_user.js
@@ -75,18 +75,6 @@ Polymer({
},
/**
- * Computed binding that returns the appropriate import message depending on
- * whether or not there are any supervised users to import.
- * @param {!Array<!SupervisedUser>} supervisedUsers
- * @private
- * @return {string}
- */
- getMessage_: function(supervisedUsers) {
- return supervisedUsers.length > 0 ? this.i18n('supervisedUserImportText') :
- this.i18n('noSupervisedUserImportText');
- },
-
- /**
* param {number} supervisedUserIndex Index of the selected supervised user.
* @private
* @return {boolean} Whether the 'Import' button should be disabled.

Powered by Google App Engine
This is Rietveld 408576698