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

Unified Diff: components/user_manager/user.h

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Created 4 years, 1 month 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: components/user_manager/user.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index be6b8eaaa9bc3e8574588ab1cd99b375ec23b782..3ce2615de0ee00829682679ab63b3e8fc0bcea21 100644
--- a/components/user_manager/user.h
+++ b/components/user_manager/user.h
@@ -104,6 +104,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 IsAdUser() const;
+
// Returns true if user is supervised.
virtual bool IsSupervised() const;

Powered by Google App Engine
This is Rietveld 408576698