Index: components/user_manager/user_manager_base.h |
diff --git a/components/user_manager/user_manager_base.h b/components/user_manager/user_manager_base.h |
index 70776a72077441725ab4f296962a28b52f8453fa..2e44e71353ec2a21c569e0f2002f87d098ca6a28 100644 |
--- a/components/user_manager/user_manager_base.h |
+++ b/components/user_manager/user_manager_base.h |
@@ -132,6 +132,10 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager { |
// and ephemeral users are enabled. |
virtual bool AreEphemeralUsersEnabled() const = 0; |
+ void AddUserRecordForTesting(User* user) { |
+ return AddUserRecord(user); |
+ } |
+ |
protected: |
// Adds |user| to users list, and adds it to front of LRU list. It is assumed |
// that there is no user with same id. |