| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "chrome/browser/chromeos/login/user_manager_impl.h" | 5 #include "chrome/browser/chromeos/login/user_manager_impl.h" |
| 6 | 6 |
| 7 #include <cstddef> | 7 #include <cstddef> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 device_local_account_policy_service_->GetBrokerForAccount(username); | 1078 device_local_account_policy_service_->GetBrokerForAccount(username); |
| 1079 if (broker) | 1079 if (broker) |
| 1080 display_name = broker->GetDisplayName(); | 1080 display_name = broker->GetDisplayName(); |
| 1081 } | 1081 } |
| 1082 | 1082 |
| 1083 // Set or clear the display name. | 1083 // Set or clear the display name. |
| 1084 SaveUserDisplayName(username, UTF8ToUTF16(display_name)); | 1084 SaveUserDisplayName(username, UTF8ToUTF16(display_name)); |
| 1085 } | 1085 } |
| 1086 | 1086 |
| 1087 } // namespace chromeos | 1087 } // namespace chromeos |
| OLD | NEW |