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

Side by Side Diff: chrome/browser/chromeos/login/user_selection_screen_proxy.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
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 "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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698