OLD | NEW |
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 * @param {boolean} isOwner | 157 * @param {boolean} isOwner |
158 * @param {boolean} isWhitelistManaged | 158 * @param {boolean} isWhitelistManaged |
159 * @param {boolean} allowGuest | 159 * @param {boolean} allowGuest |
160 * @private | 160 * @private |
161 */ | 161 */ |
162 computeEditingUsersDisabled_: function( | 162 computeEditingUsersDisabled_: function( |
163 isOwner, isWhitelistManaged, allowGuest) { | 163 isOwner, isWhitelistManaged, allowGuest) { |
164 return !isOwner || isWhitelistManaged || allowGuest; | 164 return !isOwner || isWhitelistManaged || allowGuest; |
165 } | 165 } |
166 }); | 166 }); |
OLD | NEW |