diff options
Diffstat (limited to 'chromium/components/user_manager/user_manager_base.h')
-rw-r--r-- | chromium/components/user_manager/user_manager_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/components/user_manager/user_manager_base.h b/chromium/components/user_manager/user_manager_base.h index 70776a72077..da6898fb8f1 100644 --- a/chromium/components/user_manager/user_manager_base.h +++ b/chromium/components/user_manager/user_manager_base.h @@ -111,6 +111,7 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager { const User& user, const gfx::ImageSkia& profile_image) override; void ChangeUserChildStatus(User* user, bool is_child) override; + void ResetProfileEverInitialized(const AccountId& account_id) override; void Initialize() override; // This method updates "User was added to the device in this session nad is @@ -132,6 +133,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. |