Index: chrome/browser/chromeos/login/users/multi_profile_user_controller.h |
diff --git a/chrome/browser/chromeos/login/users/multi_profile_user_controller.h b/chrome/browser/chromeos/login/users/multi_profile_user_controller.h |
index c397d56e05aa12a0854e673f12714e8251ce73b4..45d058bdc7620f49c6aa699f7fcf836f9a412e7f 100644 |
--- a/chrome/browser/chromeos/login/users/multi_profile_user_controller.h |
+++ b/chrome/browser/chromeos/login/users/multi_profile_user_controller.h |
@@ -9,6 +9,7 @@ |
#include <string> |
#include <vector> |
+#include "ash/public/interfaces/login_user_info.mojom.h" |
#include "base/macros.h" |
class PrefChangeRegistrar; |
@@ -55,15 +56,6 @@ class MultiProfileUserController { |
NOT_ALLOWED_POLICY_FORBIDS |
}; |
- // Supported user behavior values. Keep in sync with the enum in |
- // md_user_pod_row.js and user_pod_row.js |
- enum class MultiProfileUserBehavior { |
- kUnrestriced, |
- kPrimaryOnly, |
- kNotAllowed, |
- kOwnerPrimaryOnly |
- }; |
- |
MultiProfileUserController(MultiProfileUserControllerDelegate* delegate, |
PrefService* local_state); |
~MultiProfileUserController(); |
@@ -80,7 +72,7 @@ class MultiProfileUserController { |
static UserAllowedInSessionReason GetPrimaryUserPolicy(); |
// Returns the user behavior in MultiProfileUserBehavior enum. |
- static MultiProfileUserBehavior UserBehaviorStringToEnum( |
+ static ash::mojom::MultiProfileUserBehavior UserBehaviorStringToEnum( |
const std::string& behavior); |
// Returns true if user allowed to be in the current session. If |reason| not |