Index: chrome/browser/chromeos/login/user_manager_impl.h |
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h |
index 22fab8665347c67a57d3f50ac95beb23c67b27d6..4ea0eacb211bccf7984de39b71b766dcfa0ba87e 100644 |
--- a/chrome/browser/chromeos/login/user_manager_impl.h |
+++ b/chrome/browser/chromeos/login/user_manager_impl.h |
@@ -74,6 +74,7 @@ class UserManagerImpl : public UserManager, |
virtual void SaveUserImageFromProfileImage( |
const std::string& username) OVERRIDE; |
virtual void DownloadProfileImage(const std::string& reason) OVERRIDE; |
+ virtual void LoadKeyStore() OVERRIDE; |
virtual bool IsCurrentUserOwner() const OVERRIDE; |
virtual bool IsCurrentUserNew() const OVERRIDE; |
virtual bool IsCurrentUserEphemeral() const OVERRIDE; |
@@ -229,6 +230,10 @@ class UserManagerImpl : public UserManager, |
// mounting their cryptohomes using tmpfs. |
bool is_current_user_ephemeral_; |
+ // The key store for the current user has been loaded. This flag is needed to |
+ // ensure that the key store will not be loaded twice in the policy recovery |
+ // "safe-mode". |
+ bool key_store_loaded_; |
// Cached flag indicating whether ephemeral users are enabled. Defaults to |
// |false| if the value has not been read from trusted device policy yet. |
bool ephemeral_users_enabled_; |