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

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

Issue 11411314: Add public accounts to UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed reasons for the original revert. Created 8 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: chrome/browser/chromeos/login/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 31ca90aef5710574d3a24ccacfb1a0ed754bd41a..cb4dd58a45fe12167917afdb5829dd60c1df7d29 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -62,6 +62,10 @@ class UserManager {
// Registers user manager preferences.
static void RegisterPrefs(PrefService* local_state);
+ // Indicates imminent shutdown, allowing the UserManager to remove any
+ // observers it has registered.
+ virtual void Shutdown() = 0;
+
virtual ~UserManager();
virtual UserImageManager* GetUserImageManager() = 0;
@@ -157,6 +161,9 @@ class UserManager {
// Returns true if user is signed in.
virtual bool IsUserLoggedIn() const = 0;
+ // Returns true if we're logged in as a regular user.
+ virtual bool IsLoggedInAsRegularUser() const = 0;
bartfab (slow) 2012/12/03 10:39:21 This line was missing, causing a compile failure o
+
// Returns true if we're logged in as a demo user.
virtual bool IsLoggedInAsDemoUser() const = 0;

Powered by Google App Engine
This is Rietveld 408576698