| Index: chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
|
| diff --git a/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc b/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
|
| index 787e73e62ceaa573f9bfb60df3df22ed4ce54ebf..476103e8a6cfc183af5659996220636bf3cee5a4 100644
|
| --- a/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
|
| +++ b/chrome/browser/chromeos/login/users/multi_profile_user_controller.cc
|
| @@ -128,17 +128,17 @@ MultiProfileUserController::GetPrimaryUserPolicy() {
|
| }
|
|
|
| // static
|
| -MultiProfileUserController::MultiProfileUserBehavior
|
| +ash::mojom::MultiProfileUserBehavior
|
| MultiProfileUserController::UserBehaviorStringToEnum(
|
| const std::string& behavior) {
|
| if (behavior == kBehaviorPrimaryOnly)
|
| - return MultiProfileUserBehavior::kPrimaryOnly;
|
| + return ash::mojom::MultiProfileUserBehavior::PRIMARY_ONLY;
|
| if (behavior == kBehaviorNotAllowed)
|
| - return MultiProfileUserBehavior::kNotAllowed;
|
| + return ash::mojom::MultiProfileUserBehavior::NOT_ALLOWED;
|
| if (behavior == kBehaviorOwnerPrimaryOnly)
|
| - return MultiProfileUserBehavior::kOwnerPrimaryOnly;
|
| + return ash::mojom::MultiProfileUserBehavior::OWNER_PRIMARY_ONLY;
|
|
|
| - return MultiProfileUserBehavior::kUnrestriced;
|
| + return ash::mojom::MultiProfileUserBehavior::UNRESTRICTED;
|
| }
|
|
|
| bool MultiProfileUserController::IsUserAllowedInSession(
|
|
|