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

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

Issue 228553002: Preference dis/allowing supervised users creation is now available as owner setting, not only as de… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using EnterpriseInstallAttributes for getting device status. Created 6 years, 7 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 | Annotate | Revision Log
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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 base::CancelableClosure update_state_closure_; 519 base::CancelableClosure update_state_closure_;
520 base::CancelableClosure connecting_closure_; 520 base::CancelableClosure connecting_closure_;
521 521
522 content::NotificationRegistrar registrar_; 522 content::NotificationRegistrar registrar_;
523 523
524 // Whether there is an auth UI pending. This flag is set on receiving 524 // Whether there is an auth UI pending. This flag is set on receiving
525 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or 525 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or
526 // NOTIFICATION_AUTH_CANCELLED. 526 // NOTIFICATION_AUTH_CANCELLED.
527 bool has_pending_auth_ui_; 527 bool has_pending_auth_ui_;
528 528
529 scoped_ptr<CrosSettings::ObserverSubscription> allow_new_user_subscription_;
530 scoped_ptr<CrosSettings::ObserverSubscription> allow_guest_subscription_;
531 scoped_ptr<AutoEnrollmentController::ProgressCallbackList::Subscription> 529 scoped_ptr<AutoEnrollmentController::ProgressCallbackList::Subscription>
532 auto_enrollment_progress_subscription_; 530 auto_enrollment_progress_subscription_;
533 531
534 bool caps_lock_enabled_; 532 bool caps_lock_enabled_;
535 533
536 base::Closure kiosk_enable_flow_aborted_callback_for_test_; 534 base::Closure kiosk_enable_flow_aborted_callback_for_test_;
537 535
538 // Map of usernames to their current authentication type. If a user is not 536 // Map of usernames to their current authentication type. If a user is not
539 // contained in the map, it is using the default authentication type. 537 // contained in the map, it is using the default authentication type.
540 std::map<std::string, ScreenlockBridge::LockHandler::AuthType> 538 std::map<std::string, ScreenlockBridge::LockHandler::AuthType>
541 user_auth_type_map_; 539 user_auth_type_map_;
542 540
543 // Non-owning ptr. 541 // Non-owning ptr.
544 // TODO (ygorshenin@): remove this dependency. 542 // TODO (ygorshenin@): remove this dependency.
545 GaiaScreenHandler* gaia_screen_handler_; 543 GaiaScreenHandler* gaia_screen_handler_;
546 544
547 // Helper that retrieves the authenticated user's e-mail address. 545 // Helper that retrieves the authenticated user's e-mail address.
548 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; 546 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_;
549 547
550 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 548 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
551 }; 549 };
552 550
553 } // namespace chromeos 551 } // namespace chromeos
554 552
555 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 553 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698