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; |