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

Unified Diff: chrome/browser/chromeos/login/webui_login_display.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: Default enable-supervised logic fixed. Duplicated subscriptions removed. 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/chromeos/login/webui_login_display.h
diff --git a/chrome/browser/chromeos/login/webui_login_display.h b/chrome/browser/chromeos/login/webui_login_display.h
index 0fbaba29bab837a3efc88ccfe1cf11645abc3c86..0a96899150ac07614747fd75b740454985ea52e8 100644
--- a/chrome/browser/chromeos/login/webui_login_display.h
+++ b/chrome/browser/chromeos/login/webui_login_display.h
@@ -31,6 +31,7 @@ class WebUILoginDisplay : public LoginDisplay,
virtual void ClearAndEnablePassword() OVERRIDE;
virtual void Init(const UserList& users,
bool show_guest,
+ bool show_supervised,
bool show_users,
bool show_new_user) OVERRIDE;
virtual void OnPreferencesChanged() OVERRIDE;
@@ -88,6 +89,7 @@ class WebUILoginDisplay : public LoginDisplay,
const std::string& password);
virtual const UserList& GetUsers() const OVERRIDE;
virtual bool IsShowGuest() const OVERRIDE;
+ virtual bool IsShowSupervised() const OVERRIDE;
virtual bool IsShowUsers() const OVERRIDE;
virtual bool IsShowNewUser() const OVERRIDE;
virtual bool IsSigninInProgress() const OVERRIDE;
@@ -110,6 +112,9 @@ class WebUILoginDisplay : public LoginDisplay,
// Whether to show guest login.
bool show_guest_;
+ // Whether to show supervised users.
+ bool show_supervised_;
+
// Weather to show the user pads or a plain credentials dialogue.
bool show_users_;

Powered by Google App Engine
This is Rietveld 408576698