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 d40688e01f875156f638f365213a0a47004685af..05d54291f55ea61be4d8f66de3ffbd9fa54a81a9 100644 |
--- a/chrome/browser/chromeos/login/user_manager_impl.h |
+++ b/chrome/browser/chromeos/login/user_manager_impl.h |
@@ -75,6 +75,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; |
@@ -230,6 +231,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_; |