1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_MODELS_USER_BOARD_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_MODELS_USER_BOARD_MODEL_H_
8 #include "chrome/browser/chromeos/login/screens/base_screen.h"
12 class UserBoardModel
: public BaseScreen
{
15 ~UserBoardModel() override
;
17 // Build list of users and send it to the webui.
18 virtual void SendUserList() = 0;
20 // Methods for easy unlock support.
21 virtual void HardLockPod(const std::string
& user_id
) = 0;
22 virtual void AttemptEasyUnlock(const std::string
& user_id
) = 0;
23 virtual void RecordClickOnLockIcon(const std::string
& user_id
) = 0;
25 // BaseScreen implementation:
26 std::string
GetName() const override
;
28 // Temorary unused methods:
29 void PrepareToShow() override
{};
30 void Show() override
{};
31 void Hide() override
{};
34 } // namespace chromeos
36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_MODELS_USER_BOARD_MODEL_H_