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

Unified Diff: components/user_manager/user.h

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Fix profile creation, mojo types + rebase. 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
Index: components/user_manager/user.h
diff --git a/components/user_manager/user.h b/components/user_manager/user.h
index cce5f4fe201d9eb54be06d31ecf380cadcd93e8f..228a31db0a31872b8e9a25407aa8b0651eac977d 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 IsAdUser() const;
+
// Returns true if user is supervised.
virtual bool IsSupervised() const;

Powered by Google App Engine
This is Rietveld 408576698