Index: components/user_manager/user.h |
diff --git a/components/user_manager/user.h b/components/user_manager/user.h |
index fecc33bec1de68c1e48974050722d78b045c7899..032e9841b1309e6c22698238e0e94421f107eb9d 100644 |
--- a/components/user_manager/user.h |
+++ b/components/user_manager/user.h |
@@ -190,6 +190,10 @@ class USER_MANAGER_EXPORT User : public UserInfo { |
// True if the user Profile is created. |
bool is_profile_created() const { return profile_is_created_; } |
+ static User* CreatePublicAccountUserForTesting(const AccountId& account_id) { |
+ return CreatePublicAccountUser(account_id); |
+ } |
+ |
protected: |
friend class UserManagerBase; |
friend class chromeos::ChromeUserManagerImpl; |