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

Unified Diff: chrome/browser/chromeos/login/user.h

Issue 11419184: Add public accounts to UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload against the correct upstream commit. Created 8 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: chrome/browser/chromeos/login/user.h
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h
index f3f0b0969e8dbf261a11ac4b8ff236556915170d..269fe1cd4c8a1c7fd96446b58a6f254ac8525f71 100644
--- a/chrome/browser/chromeos/login/user.h
+++ b/chrome/browser/chromeos/login/user.h
@@ -127,6 +127,14 @@ class User {
// which to unlock the session).
virtual bool can_lock() const;
+ // True if the user's account is tied to this specific device (i.e. the user
+ // does not authenticate against a cloud service).
+ virtual bool is_device_local_account() const;
+
+ // True if the user's account is built in and cannot be removed (e.g. guest
+ // mode user).
+ virtual bool is_builtin_account() const;
+
protected:
friend class UserManagerImpl;
friend class UserImageManagerImpl;

Powered by Google App Engine
This is Rietveld 408576698