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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1011 device_local_account_policy_service_->GetBrokerForAccount(username); | 1011 device_local_account_policy_service_->GetBrokerForAccount(username); |
1012 if (broker) | 1012 if (broker) |
1013 display_name = broker->GetDisplayName(); | 1013 display_name = broker->GetDisplayName(); |
1014 } | 1014 } |
1015 | 1015 |
1016 // Set or clear the display name. | 1016 // Set or clear the display name. |
1017 SaveUserDisplayName(username, UTF8ToUTF16(display_name)); | 1017 SaveUserDisplayName(username, UTF8ToUTF16(display_name)); |
1018 } | 1018 } |
1019 | 1019 |
1020 } // namespace chromeos | 1020 } // namespace chromeos |
OLD | NEW |