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

Unified Diff: components/user_manager/user_manager.h

Issue 1922143002: Disabled ARC for ephemeral users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: same Created 4 years, 8 months 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: 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;

Powered by Google App Engine
This is Rietveld 408576698