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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/user_board_screen_handler.h

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void SetPublicSessionLocales(const AccountId& account_id, 44 void SetPublicSessionLocales(const AccountId& account_id,
45 std::unique_ptr<base::ListValue> locales, 45 std::unique_ptr<base::ListValue> locales,
46 const std::string& default_locale, 46 const std::string& default_locale,
47 bool multiple_recommended_locales) override; 47 bool multiple_recommended_locales) override;
48 void ShowBannerMessage(const base::string16& message) override; 48 void ShowBannerMessage(const base::string16& message) override;
49 void ShowUserPodCustomIcon( 49 void ShowUserPodCustomIcon(
50 const AccountId& account_id, 50 const AccountId& account_id,
51 const proximity_auth::ScreenlockBridge::UserPodCustomIconOptions& 51 const proximity_auth::ScreenlockBridge::UserPodCustomIconOptions&
52 icon_options) override; 52 icon_options) override;
53 void HideUserPodCustomIcon(const AccountId& account_id) override; 53 void HideUserPodCustomIcon(const AccountId& account_id) override;
54 void SetAuthType( 54 void SetAuthType(const AccountId& account_id,
55 const AccountId& account_id, 55 proximity_auth::mojom::AuthType auth_type,
56 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type, 56 const base::string16& initial_value) override;
57 const base::string16& initial_value) override;
58 void Bind(UserSelectionScreen* screen) override; 57 void Bind(UserSelectionScreen* screen) override;
59 void Unbind() override; 58 void Unbind() override;
60 base::WeakPtr<UserBoardView> GetWeakPtr() override; 59 base::WeakPtr<UserBoardView> GetWeakPtr() override;
61 60
62 UserSelectionScreen* screen_ = nullptr; 61 UserSelectionScreen* screen_ = nullptr;
63 base::WeakPtrFactory<UserBoardScreenHandler> weak_factory_; 62 base::WeakPtrFactory<UserBoardScreenHandler> weak_factory_;
64 63
65 DISALLOW_COPY_AND_ASSIGN(UserBoardScreenHandler); 64 DISALLOW_COPY_AND_ASSIGN(UserBoardScreenHandler);
66 }; 65 };
67 66
68 } // namespace chromeos 67 } // namespace chromeos
69 68
70 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 69 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698