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

Unified Diff: components/user_manager/user.h

Issue 561713002: ash: Add checks for supervised users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Default flag value set in user class constructor. Created 6 years, 3 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
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_win.cc ('k') | components/user_manager/user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index 5ff8a10b124b55f1faafb5a398fa9169ee169134..0c34bf03122431c435fcf4d7c305abbd9a4a7a8e 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -91,6 +91,10 @@ class USER_MANAGER_EXPORT User : public UserInfo {
virtual const gfx::ImageSkia& GetImage() const OVERRIDE;
virtual std::string GetUserID() const OVERRIDE;
+ // Is user supervised.
+ virtual bool IsSupervised() const;
+ virtual void SetIsSupervised(bool is_supervised);
+
// Returns the account name part of the email. Use the display form of the
// email if available and use_display_name == true. Otherwise use canonical.
std::string GetAccountName(bool use_display_email) const;
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_win.cc ('k') | components/user_manager/user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698