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

Side by Side Diff: chrome/browser/chromeos/login/user_selection_screen_proxy.h

Issue 2903353003: Adding mojo calls for easy unlock service (Closed)
Patch Set: comments and 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_SELECTION_SCREEN_PROXY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_SELECTION_SCREEN_PROXY_H_
7
8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/chromeos/login/ui/views/user_board_view.h"
11
12 namespace chromeos {
13
14 // This class is a proxy layer which handles calls from UserSelectionScreen and
15 // send them to ash.
16 class UserSelectionScreenProxy : public chromeos::UserBoardView {
17 public:
18 UserSelectionScreenProxy();
19 ~UserSelectionScreenProxy() override;
20
21 // UserBoardView:
22 void SetPublicSessionDisplayName(const AccountId& account_id,
23 const std::string& display_name) override{};
24 void SetPublicSessionLocales(const AccountId& account_id,
25 std::unique_ptr<base::ListValue> locales,
26 const std::string& default_locale,
27 bool multiple_recommended_locales) override{};
28 void ShowBannerMessage(const base::string16& message) override{};
29 void ShowUserPodCustomIcon(
30 const AccountId& account_id,
31 const proximity_auth::ScreenlockBridge::UserPodCustomIconOptions& icon)
32 override;
33 void HideUserPodCustomIcon(const AccountId& account_id) override;
34 void SetAuthType(
35 const AccountId& account_id,
36 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type,
37 const base::string16& initial_value) override;
38 void Bind(chromeos::UserSelectionScreen* screen) override{};
39 void Unbind() override{};
40 base::WeakPtr<UserBoardView> GetWeakPtr() override;
41
42 private:
43 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreenProxy);
44 };
45
46 } // namespace chromeos
47
48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_SELECTION_SCREEN_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/views/user_board_view.h ('k') | chrome/browser/chromeos/login/user_selection_screen_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698