Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Side by Side Diff: ash/login/lock_screen_controller.cc

Issue 2937553002: Create Mojo Struct for user information used in login/lock screen. (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/login/lock_screen_controller.h ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 30 matching lines...) Expand all
41 void LockScreenController::ShowUserPodCustomIcon( 41 void LockScreenController::ShowUserPodCustomIcon(
42 const AccountId& account_id, 42 const AccountId& account_id,
43 mojom::UserPodCustomIconOptionsPtr icon) { 43 mojom::UserPodCustomIconOptionsPtr icon) {
44 NOTIMPLEMENTED(); 44 NOTIMPLEMENTED();
45 } 45 }
46 46
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(
52 mojom::AuthType auth_type, 52 const AccountId& account_id,
53 const base::string16& initial_value) { 53 proximity_auth::mojom::AuthType auth_type,
54 const base::string16& initial_value) {
54 NOTIMPLEMENTED(); 55 NOTIMPLEMENTED();
55 } 56 }
56 57
57 void LockScreenController::LoadUsers(std::unique_ptr<base::ListValue> users, 58 void LockScreenController::LoadUsers(std::vector<mojom::LoginUserInfoPtr> users,
58 bool show_guest) { 59 bool show_guest) {
59 NOTIMPLEMENTED(); 60 NOTIMPLEMENTED();
60 } 61 }
61 62
62 void LockScreenController::SetPinEnabledForUser(const AccountId& account_id, 63 void LockScreenController::SetPinEnabledForUser(const AccountId& account_id,
63 bool is_enabled) { 64 bool is_enabled) {
64 NOTIMPLEMENTED(); 65 NOTIMPLEMENTED();
65 } 66 }
66 67
67 void LockScreenController::AuthenticateUser( 68 void LockScreenController::AuthenticateUser(
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 key.Transform(chromeos::Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); 147 key.Transform(chromeos::Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt);
147 lock_screen_client_->AuthenticateUser( 148 lock_screen_client_->AuthenticateUser(
148 account_id, key.GetSecret(), authenticated_by_pin, std::move(callback)); 149 account_id, key.GetSecret(), authenticated_by_pin, std::move(callback));
149 } 150 }
150 151
151 void LockScreenController::OnGetSystemSalt(const std::string& system_salt) { 152 void LockScreenController::OnGetSystemSalt(const std::string& system_salt) {
152 std::move(pending_user_auth_).Run(system_salt); 153 std::move(pending_user_auth_).Run(system_salt);
153 } 154 }
154 155
155 } // namespace ash 156 } // namespace ash
OLDNEW
« no previous file with comments | « ash/login/lock_screen_controller.h ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698