Index: components/user_manager/user_manager.h |
diff --git a/components/user_manager/user_manager.h b/components/user_manager/user_manager.h |
index 601eb41eb2d1f7996dde4e755a8f77fa38d43a68..e79087351147da96469dcd3aadacc48a89f16a11 100644 |
--- a/components/user_manager/user_manager.h |
+++ b/components/user_manager/user_manager.h |
@@ -269,6 +269,10 @@ class USER_MANAGER_EXPORT UserManager { |
// display email) is ephemeral. |
virtual bool IsCurrentUserNonCryptohomeDataEphemeral() const = 0; |
+ // Returns true if data stored or cached for the current user inside that |
+ // user's cryptohome is ephemeral. |
+ virtual bool IsCurrentUserCryptohomeDataEphemeral() const = 0; |
+ |
// Returns true if the current user's session can be locked (i.e. the user has |
// a password with which to unlock the session). |
virtual bool CanCurrentUserLock() const = 0; |
@@ -309,6 +313,9 @@ class USER_MANAGER_EXPORT UserManager { |
virtual bool IsUserNonCryptohomeDataEphemeral( |
const AccountId& account_id) const = 0; |
+ virtual bool IsUserCryptohomeDataEphemeral( |
+ const AccountId& account_id) const = 0; |
+ |
virtual void AddObserver(Observer* obs) = 0; |
virtual void RemoveObserver(Observer* obs) = 0; |