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

Unified Diff: components/user_manager/user.h

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Rename HandleAdAuth. Use system_api enums Created 4 years 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 | « chromeos/login/auth/user_context.h ('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 cce5f4fe201d9eb54be06d31ecf380cadcd93e8f..26c52599632fc3fb947fc871061827ebb6a92a46 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -107,6 +107,9 @@ class USER_MANAGER_EXPORT User : public UserInfo {
// USER_TYPE_REGULAR and USER_TYPE_CHILD.
virtual bool HasGaiaAccount() const;
+ // Returns true if it's Active Directory user.
+ virtual bool IsActiveDirectoryUser() const;
+
// Returns true if user is supervised.
virtual bool IsSupervised() const;
« no previous file with comments | « chromeos/login/auth/user_context.h ('k') | components/user_manager/user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698