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

Unified 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: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
index e6bc577edef7647b3596d731d17b5eb4d4006ed3..458250a481b246f231aa26b9a8f4ca16b2d8db37 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
@@ -171,7 +171,10 @@ class SigninScreenHandlerDelegate {
// Returns users list to be shown.
virtual const UserList& GetUsers() const = 0;
- // Whether login as guest is available.
+ // Whether login as supervised user is available.
+ virtual bool IsShowSupervised() const = 0;
+
+ // Whether user names are shown on sign in.
virtual bool IsShowGuest() const = 0;
// Whether login as guest is available.
@@ -528,6 +531,7 @@ class SigninScreenHandler
scoped_ptr<CrosSettings::ObserverSubscription> allow_new_user_subscription_;
scoped_ptr<CrosSettings::ObserverSubscription> allow_guest_subscription_;
+ scoped_ptr<CrosSettings::ObserverSubscription> allow_supervised_subscription_;
scoped_ptr<AutoEnrollmentController::ProgressCallbackList::Subscription>
auto_enrollment_progress_subscription_;

Powered by Google App Engine
This is Rietveld 408576698