| 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/chromeos/login/user_selection_screen_proxy.h" | 5 #include "chrome/browser/chromeos/login/user_selection_screen_proxy.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "chrome/browser/ui/ash/lock_screen_client.h" | 9 #include "chrome/browser/ui/ash/lock_screen_client.h" |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 LockScreenClient::Get()->ShowUserPodCustomIcon(account_id, std::move(icon)); | 55 LockScreenClient::Get()->ShowUserPodCustomIcon(account_id, std::move(icon)); |
| 56 } | 56 } |
| 57 | 57 |
| 58 void UserSelectionScreenProxy::HideUserPodCustomIcon( | 58 void UserSelectionScreenProxy::HideUserPodCustomIcon( |
| 59 const AccountId& account_id) { | 59 const AccountId& account_id) { |
| 60 LockScreenClient::Get()->HideUserPodCustomIcon(account_id); | 60 LockScreenClient::Get()->HideUserPodCustomIcon(account_id); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void UserSelectionScreenProxy::SetAuthType( | 63 void UserSelectionScreenProxy::SetAuthType( |
| 64 const AccountId& account_id, | 64 const AccountId& account_id, |
| 65 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type, | 65 proximity_auth::mojom::AuthType auth_type, |
| 66 const base::string16& initial_value) { | 66 const base::string16& initial_value) { |
| 67 LockScreenClient::Get()->SetAuthType( | 67 LockScreenClient::Get()->SetAuthType(account_id, auth_type, initial_value); |
| 68 account_id, static_cast<ash::mojom::AuthType>(auth_type), initial_value); | |
| 69 } | 68 } |
| 70 | 69 |
| 71 base::WeakPtr<chromeos::UserBoardView> UserSelectionScreenProxy::GetWeakPtr() { | 70 base::WeakPtr<chromeos::UserBoardView> UserSelectionScreenProxy::GetWeakPtr() { |
| 72 return base::WeakPtr<chromeos::UserBoardView>(); | 71 return base::WeakPtr<chromeos::UserBoardView>(); |
| 73 } | 72 } |
| 74 | 73 |
| 75 } // namespace chromeos | 74 } // namespace chromeos |
| OLD | NEW |