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

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

Issue 2107353002: Fix the flaky test KioskTest.LaunchAppUserCancel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UI_STATE_UNKNOWN Created 4 years, 5 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 // Attempts to remove given user. 172 // Attempts to remove given user.
173 virtual void RemoveUser(const AccountId& account_id) = 0; 173 virtual void RemoveUser(const AccountId& account_id) = 0;
174 174
175 // Let the delegate know about the handler it is supposed to be using. 175 // Let the delegate know about the handler it is supposed to be using.
176 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; 176 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0;
177 177
178 // Whether login as guest is available. 178 // Whether login as guest is available.
179 virtual bool IsShowGuest() const = 0; 179 virtual bool IsShowGuest() const = 0;
180 180
181 // Weather to show the user pods or only GAIA sign in. 181 // Whether to show the user pods or only GAIA sign in.
182 // Public sessions are always shown. 182 // Public sessions are always shown.
183 virtual bool IsShowUsers() const = 0; 183 virtual bool IsShowUsers() const = 0;
184 184
185 // Whether the show user pods setting has changed.
186 virtual bool ShowUsersHasChanged() const = 0;
187
188 // Whether the create new account option in GAIA is enabled by the setting.
189 virtual bool IsAllowNewUser() const = 0;
190
191 // Whether the allow new user setting has changed.
192 virtual bool AllowNewUserChanged() const = 0;
193
185 // Whether user sign in has completed. 194 // Whether user sign in has completed.
186 virtual bool IsUserSigninCompleted() const = 0; 195 virtual bool IsUserSigninCompleted() const = 0;
187 196
188 // Request to (re)load user list. 197 // Request to (re)load user list.
189 virtual void HandleGetUsers() = 0; 198 virtual void HandleGetUsers() = 0;
190 199
191 // Runs an OAuth token validation check for user. 200 // Runs an OAuth token validation check for user.
192 virtual void CheckUserStatus(const AccountId& account_id) = 0; 201 virtual void CheckUserStatus(const AccountId& account_id) = 0;
193 202
194 // Returns true if user is allowed to log in by domain policy. 203 // Returns true if user is allowed to log in by domain policy.
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 std::unique_ptr<LoginFeedback> login_feedback_; 513 std::unique_ptr<LoginFeedback> login_feedback_;
505 514
506 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 515 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
507 516
508 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 517 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
509 }; 518 };
510 519
511 } // namespace chromeos 520 } // namespace chromeos
512 521
513 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 522 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698