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

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

Issue 426153003: Consumer management enrollment signin screen change: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 void HandleUnlockOnLoginSuccess(); 350 void HandleUnlockOnLoginSuccess();
351 void HandleLoginScreenUpdate(); 351 void HandleLoginScreenUpdate();
352 void HandleShowLoadingTimeoutError(); 352 void HandleShowLoadingTimeoutError();
353 void HandleUpdateOfflineLogin(bool offline_login_active); 353 void HandleUpdateOfflineLogin(bool offline_login_active);
354 void HandleShowSupervisedUserCreationScreen(); 354 void HandleShowSupervisedUserCreationScreen();
355 void HandleFocusPod(const std::string& user_id); 355 void HandleFocusPod(const std::string& user_id);
356 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); 356 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode);
357 void HandleRetrieveAuthenticatedUserEmail(double attempt_token); 357 void HandleRetrieveAuthenticatedUserEmail(double attempt_token);
358 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, 358 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id,
359 const std::string& locale); 359 const std::string& locale);
360 void HandleCancelConsumerManagementEnrollment();
360 361
361 // Returns true iff 362 // Returns true iff
362 // (i) log in is restricted to some user list, 363 // (i) log in is restricted to some user list,
363 // (ii) all users in the restricted list are present. 364 // (ii) all users in the restricted list are present.
364 bool AllWhitelistedUsersPresent(); 365 bool AllWhitelistedUsersPresent();
365 366
366 // Cancels password changed flow - switches back to login screen. 367 // Cancels password changed flow - switches back to login screen.
367 // Called as a callback after cookies are cleared. 368 // Called as a callback after cookies are cleared.
368 void CancelPasswordChangedFlowInternal(); 369 void CancelPasswordChangedFlowInternal();
369 370
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 456
456 base::Closure kiosk_enable_flow_aborted_callback_for_test_; 457 base::Closure kiosk_enable_flow_aborted_callback_for_test_;
457 458
458 // Non-owning ptr. 459 // Non-owning ptr.
459 // TODO (ygorshenin@): remove this dependency. 460 // TODO (ygorshenin@): remove this dependency.
460 GaiaScreenHandler* gaia_screen_handler_; 461 GaiaScreenHandler* gaia_screen_handler_;
461 462
462 // Helper that retrieves the authenticated user's e-mail address. 463 // Helper that retrieves the authenticated user's e-mail address.
463 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; 464 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_;
464 465
466 // Whether consumer management enrollment is in progress.
467 bool is_enrolling_consumer_management_;
468 std::string owner_email_;
469
465 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 470 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
466 471
467 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 472 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
468 }; 473 };
469 474
470 } // namespace chromeos 475 } // namespace chromeos
471 476
472 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 477 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698