| Index: chrome/browser/resources/options/managed_user_import.js
|
| diff --git a/chrome/browser/resources/options/managed_user_import.js b/chrome/browser/resources/options/managed_user_import.js
|
| index 0152169cb6be4bc018ee41e72983e626d595bbf6..88fbd22c21505df4d8ef6484b6e170a31889a2c7 100644
|
| --- a/chrome/browser/resources/options/managed_user_import.js
|
| +++ b/chrome/browser/resources/options/managed_user_import.js
|
| @@ -167,12 +167,17 @@ cr.define('options', function() {
|
| * name: "Managed User Name",
|
| * iconURL: "chrome://path/to/icon/image",
|
| * onCurrentDevice: true or false,
|
| + * nameConflict: true or false,
|
| * needAvatar: true or false
|
| * }
|
| * @private
|
| */
|
| receiveExistingManagedUsers_: function(managedUsers) {
|
| managedUsers.sort(function(a, b) {
|
| + if (a.onCurrentDevice != b.onCurrentDevice)
|
| + return a.onCurrentDevice ? 1 : -1;
|
| + if (a.nameConflict != b.nameConflict)
|
| + return a.nameConflict ? 1 : -1;
|
| return a.name.localeCompare(b.name);
|
| });
|
|
|
|
|