Chromium Code Reviews| Index: chrome/browser/resources/options/browser_options_profile_list.js |
| diff --git a/chrome/browser/resources/options/browser_options_profile_list.js b/chrome/browser/resources/options/browser_options_profile_list.js |
| index 429780ede632a32dc16a9296bc2d735e7b39a452..53960d578fd54f810327daccb557a6a5feebb937 100644 |
| --- a/chrome/browser/resources/options/browser_options_profile_list.js |
| +++ b/chrome/browser/resources/options/browser_options_profile_list.js |
| @@ -40,10 +40,10 @@ cr.define('options.browser_options', function() { |
| }, |
| /** |
| - * @type {boolean} whether this profile is managed. |
| + * @type {boolean} whether this profile is supervised. |
| */ |
| - get isManaged() { |
| - return this.profileInfo_.isManaged; |
| + get isSupervised() { |
|
Pam (message me for reviews)
2014/07/23 21:13:39
Is this used anywhere?
Marc Treib
2014/07/24 12:11:54
Apparently not. Removed.
|
| + return this.profileInfo_.isSupervised; |
| }, |
| /** @override */ |
| @@ -73,11 +73,11 @@ cr.define('options.browser_options', function() { |
| } |
| nameEl.textContent = displayName; |
| - if (profileInfo.isManaged) { |
| + if (profileInfo.isSupervised) { |
| var supervisedEl = this.ownerDocument.createElement('div'); |
| supervisedEl.className = 'profile-supervised'; |
| supervisedEl.textContent = |
| - '(' + loadTimeData.getStringF('managedUserLabel') + ')'; |
| + '(' + loadTimeData.getStringF('supervisedUserLabel') + ')'; |
| containerEl.appendChild(supervisedEl); |
| } |
| @@ -108,7 +108,7 @@ cr.define('options.browser_options', function() { |
| /** @override */ |
| deleteItemAtIndex: function(index) { |
| - if (loadTimeData.getBoolean('profileIsManaged')) |
| + if (loadTimeData.getBoolean('profileIsSupervised')) |
| return; |
| ManageProfileOverlay.showDeleteDialog(this.dataModel.item(index)); |
| }, |