| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/ui/ash/lock_screen_client.h" | 5 #include "chrome/browser/ui/ash/lock_screen_client.h" |
| 6 | 6 |
| 7 #include "ash/public/interfaces/constants.mojom.h" | 7 #include "ash/public/interfaces/constants.mojom.h" |
| 8 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 8 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 9 #include "content/public/common/service_manager_connection.h" | 9 #include "content/public/common/service_manager_connection.h" |
| 10 #include "services/service_manager/public/cpp/connector.h" | 10 #include "services/service_manager/public/cpp/connector.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void LockScreenClient::HideUserPodCustomIcon(const AccountId& account_id) { | 98 void LockScreenClient::HideUserPodCustomIcon(const AccountId& account_id) { |
| 99 lock_screen_->HideUserPodCustomIcon(account_id); | 99 lock_screen_->HideUserPodCustomIcon(account_id); |
| 100 } | 100 } |
| 101 | 101 |
| 102 void LockScreenClient::SetAuthType(const AccountId& account_id, | 102 void LockScreenClient::SetAuthType(const AccountId& account_id, |
| 103 ash::mojom::AuthType auth_type, | 103 ash::mojom::AuthType auth_type, |
| 104 const base::string16& initial_value) { | 104 const base::string16& initial_value) { |
| 105 lock_screen_->SetAuthType(account_id, auth_type, initial_value); | 105 lock_screen_->SetAuthType(account_id, auth_type, initial_value); |
| 106 } | 106 } |
| 107 | 107 |
| 108 void LockScreenClient::LoadUsers(std::unique_ptr<base::ListValue> users_list, | 108 void LockScreenClient::LoadUsers( |
| 109 bool show_guest) { | 109 std::vector<ash::mojom::LoginUserInfoPtr> users_list, |
| 110 bool show_guest) { |
| 110 lock_screen_->LoadUsers(std::move(users_list), show_guest); | 111 lock_screen_->LoadUsers(std::move(users_list), show_guest); |
| 111 } | 112 } |
| 112 | 113 |
| 113 void LockScreenClient::SetDelegate(Delegate* delegate) { | 114 void LockScreenClient::SetDelegate(Delegate* delegate) { |
| 114 delegate_ = delegate; | 115 delegate_ = delegate; |
| 115 } | 116 } |
| OLD | NEW |