| 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 "ash/login/lock_screen_controller.h" | 5 #include "ash/login/lock_screen_controller.h" |
| 6 | 6 |
| 7 #include "ash/login/ui/lock_screen.h" | 7 #include "ash/login/ui/lock_screen.h" |
| 8 #include "chromeos/cryptohome/system_salt_getter.h" | 8 #include "chromeos/cryptohome/system_salt_getter.h" |
| 9 #include "chromeos/login/auth/user_context.h" | 9 #include "chromeos/login/auth/user_context.h" |
| 10 | 10 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 void LockScreenController::HideUserPodCustomIcon(const AccountId& account_id) { | 47 void LockScreenController::HideUserPodCustomIcon(const AccountId& account_id) { |
| 48 NOTIMPLEMENTED(); | 48 NOTIMPLEMENTED(); |
| 49 } | 49 } |
| 50 | 50 |
| 51 void LockScreenController::SetAuthType(const AccountId& account_id, | 51 void LockScreenController::SetAuthType(const AccountId& account_id, |
| 52 mojom::AuthType auth_type, | 52 mojom::AuthType auth_type, |
| 53 const base::string16& initial_value) { | 53 const base::string16& initial_value) { |
| 54 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 void LockScreenController::LoadUsers(std::unique_ptr<base::ListValue> users, | 57 void LockScreenController::LoadUsers(std::vector<mojom::LoginUserInfoPtr> users, |
| 58 bool show_guest) { | 58 bool show_guest) { |
| 59 NOTIMPLEMENTED(); | 59 NOTIMPLEMENTED(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 void LockScreenController::SetPinEnabledForUser(const AccountId& account_id, | 62 void LockScreenController::SetPinEnabledForUser(const AccountId& account_id, |
| 63 bool is_enabled) { | 63 bool is_enabled) { |
| 64 NOTIMPLEMENTED(); | 64 NOTIMPLEMENTED(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 void LockScreenController::AuthenticateUser( | 67 void LockScreenController::AuthenticateUser( |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 key.Transform(chromeos::Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); | 146 key.Transform(chromeos::Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); |
| 147 lock_screen_client_->AuthenticateUser( | 147 lock_screen_client_->AuthenticateUser( |
| 148 account_id, key.GetSecret(), authenticated_by_pin, std::move(callback)); | 148 account_id, key.GetSecret(), authenticated_by_pin, std::move(callback)); |
| 149 } | 149 } |
| 150 | 150 |
| 151 void LockScreenController::OnGetSystemSalt(const std::string& system_salt) { | 151 void LockScreenController::OnGetSystemSalt(const std::string& system_salt) { |
| 152 std::move(pending_user_auth_).Run(system_salt); | 152 std::move(pending_user_auth_).Run(system_salt); |
| 153 } | 153 } |
| 154 | 154 |
| 155 } // namespace ash | 155 } // namespace ash |
| OLD | NEW |