| Index: chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
|
| diff --git a/chrome/browser/chromeos/login/users/fake_chrome_user_manager.h b/chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
|
| index 0e814ae9eb20e0ccaa7cf1d6fa1f0a54c03a1d8c..596c121b370c934903fd91c45219da48853e9984 100644
|
| --- a/chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
|
| +++ b/chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
|
| @@ -28,15 +28,17 @@ class FakeChromeUserManager : public ChromeUserManager {
|
| FakeChromeUserManager();
|
| ~FakeChromeUserManager() override;
|
|
|
| - // Create and add a kiosk app user.
|
| + // Create and add various types of users.
|
| user_manager::User* AddKioskAppUser(const AccountId& account_id);
|
| user_manager::User* AddArcKioskAppUser(const AccountId& account_id);
|
| -
|
| - // Create and add a public account user.
|
| + user_manager::User* AddSupervisedUser(const AccountId& account_id);
|
| const user_manager::User* AddPublicAccountUser(const AccountId& account_id);
|
|
|
| // Calculates the user name hash and calls UserLoggedIn to login a user.
|
| - void LoginUser(const AccountId& account_id);
|
| + // |set_profile_created| forces the user to have its profile marked created.
|
| + // NOTE: This does not match production, which creates the profile later.
|
| + // However, many tests rely on this behavior.
|
| + void LoginUser(const AccountId& account_id, bool set_profile_created = true);
|
|
|
| const user_manager::User* AddUser(const AccountId& account_id);
|
| const user_manager::User* AddUserWithAffiliation(const AccountId& account_id,
|
|
|