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

Side by Side Diff: chrome/browser/resources/settings/people_page/users_page.js

Issue 2259943003: Settings People CrOS: Display supervised users' names correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test variables 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-users-page' is the settings page for managing user accounts on 7 * 'settings-users-page' is the settings page for managing user accounts on
8 * the device. 8 * the device.
9 * 9 *
10 * Example: 10 * Example:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 return !isOwner || isWhitelistManaged; 80 return !isOwner || isWhitelistManaged;
81 }, 81 },
82 82
83 /** 83 /**
84 * @param {boolean} isOwner 84 * @param {boolean} isOwner
85 * @param {boolean} isWhitelistManaged 85 * @param {boolean} isWhitelistManaged
86 * @param {boolean} allowGuest 86 * @param {boolean} allowGuest
87 * @private 87 * @private
88 * @return {boolean} 88 * @return {boolean}
89 */ 89 */
90 isEditingUsersDisabled_: function( 90 isEditingUsersDisabled_: function(isOwner, isWhitelistManaged, allowGuest) {
91 isOwner, isWhitelistManaged, allowGuest) {
92 return !isOwner || isWhitelistManaged || allowGuest; 91 return !isOwner || isWhitelistManaged || allowGuest;
93 } 92 }
94 }); 93 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698