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

Side by Side Diff: chrome/browser/chromeos/login/screens/user_selection_screen.h

Issue 1470633002: ChromeOS: Fix removeUser button on signin screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@462823--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Fix-GetKnownUserAccountId
Patch Set: Rebased. Created 5 years 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 2014 The Chromium Authors. All rights reserved. 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 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_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 void SetHandler(LoginDisplayWebUIHandler* handler); 41 void SetHandler(LoginDisplayWebUIHandler* handler);
42 void SetView(UserBoardView* view); 42 void SetView(UserBoardView* view);
43 43
44 static const user_manager::UserList PrepareUserListForSending( 44 static const user_manager::UserList PrepareUserListForSending(
45 const user_manager::UserList& users, 45 const user_manager::UserList& users,
46 const AccountId& owner, 46 const AccountId& owner,
47 bool is_signin_to_add); 47 bool is_signin_to_add);
48 48
49 virtual void Init(const user_manager::UserList& users, bool show_guest); 49 virtual void Init(const user_manager::UserList& users, bool show_guest);
50 void OnUserImageChanged(const user_manager::User& user); 50 void OnUserImageChanged(const user_manager::User& user);
51 void OnBeforeUserRemoved(const std::string& username); 51 void OnBeforeUserRemoved(const AccountId& account_id);
52 void OnUserRemoved(const std::string& username); 52 void OnUserRemoved(const AccountId& account_id);
53 53
54 void OnPasswordClearTimerExpired(); 54 void OnPasswordClearTimerExpired();
55 55
56 void HandleGetUsers(); 56 void HandleGetUsers();
57 void CheckUserStatus(const AccountId& account_id); 57 void CheckUserStatus(const AccountId& account_id);
58 58
59 // ui::UserActivityDetector implementation: 59 // ui::UserActivityDetector implementation:
60 void OnUserActivity(const ui::Event* event) override; 60 void OnUserActivity(const ui::Event* event) override;
61 61
62 void InitEasyUnlock(); 62 void InitEasyUnlock();
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 scoped_ptr<TokenHandleUtil> token_handle_util_; 146 scoped_ptr<TokenHandleUtil> token_handle_util_;
147 147
148 base::WeakPtrFactory<UserSelectionScreen> weak_factory_; 148 base::WeakPtrFactory<UserSelectionScreen> weak_factory_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); 150 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen);
151 }; 151 };
152 152
153 } // namespace chromeos 153 } // namespace chromeos
154 154
155 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ 155 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698