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

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

Issue 1454153002: Revert of This CL replaces e-mail with AccountId on user selection screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 14 matching lines...) Expand all
25 // BaseScreenHandler implementation: 25 // BaseScreenHandler implementation:
26 void DeclareLocalizedValues( 26 void DeclareLocalizedValues(
27 ::login::LocalizedValuesBuilder* builder) override; 27 ::login::LocalizedValuesBuilder* builder) override;
28 28
29 // WebUIMessageHandler implementation: 29 // WebUIMessageHandler implementation:
30 void RegisterMessages() override; 30 void RegisterMessages() override;
31 void Initialize() override; 31 void Initialize() override;
32 32
33 // Handlers 33 // Handlers
34 void HandleGetUsers(); 34 void HandleGetUsers();
35 void HandleHardlockPod(const AccountId& account_id); 35 void HandleHardlockPod(const std::string& user_id);
36 void HandleAttemptUnlock(const AccountId& account_id); 36 void HandleAttemptUnlock(const std::string& user_id);
37 void HandleRecordClickOnLockIcon(const AccountId& account_id); 37 void HandleRecordClickOnLockIcon(const std::string& user_id);
38 38
39 // UserBoardView implementation: 39 // UserBoardView implementation:
40 void SetPublicSessionDisplayName(const AccountId& account_id, 40 void SetPublicSessionDisplayName(const std::string& user_id,
41 const std::string& display_name) override; 41 const std::string& display_name) override;
42 void SetPublicSessionLocales(const AccountId& account_id, 42 void SetPublicSessionLocales(const std::string& user_id,
43 scoped_ptr<base::ListValue> locales, 43 scoped_ptr<base::ListValue> locales,
44 const std::string& default_locale, 44 const std::string& default_locale,
45 bool multiple_recommended_locales) override; 45 bool multiple_recommended_locales) override;
46 void ShowBannerMessage(const base::string16& message) override; 46 void ShowBannerMessage(const base::string16& message) override;
47 void ShowUserPodCustomIcon(const AccountId& account_id, 47 void ShowUserPodCustomIcon(const std::string& user_id,
48 const base::DictionaryValue& icon) override; 48 const base::DictionaryValue& icon) override;
49 void HideUserPodCustomIcon(const AccountId& account_id) override; 49 void HideUserPodCustomIcon(const std::string& user_id) override;
50 void SetAuthType( 50 void SetAuthType(
51 const AccountId& account_id, 51 const std::string& user_id,
52 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type, 52 proximity_auth::ScreenlockBridge::LockHandler::AuthType auth_type,
53 const base::string16& initial_value) override; 53 const base::string16& initial_value) override;
54 54
55 void Bind(UserBoardModel& model) override; 55 void Bind(UserBoardModel& model) override;
56 void Unbind() override; 56 void Unbind() override;
57 57
58 UserBoardModel* model_; 58 UserBoardModel* model_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(UserBoardScreenHandler); 60 DISALLOW_COPY_AND_ASSIGN(UserBoardScreenHandler);
61 }; 61 };
62 62
63 } // namespace chromeos 63 } // namespace chromeos
64 64
65 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_ 65 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_USER_BOARD_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698