Chromium Code Reviews| 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..8d5729c7b883b73d1b393b528233237d035b010c 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; |
| @@ -20,6 +21,8 @@ namespace user_prefs { |
| class PrefRegistrySyncable; |
| } |
| +using MultiProfileUserBehavior = ash::mojom::MultiProfileUserBehavior; |
|
jdufault
2017/06/16 22:18:09
It doesn't look like this saves a lot of typing so
xiyuan
2017/06/16 23:05:41
+1
xiaoyinh(OOO Sep 11-29)
2017/06/19 17:29:50
Done.
|
| + |
| namespace chromeos { |
| class MultiProfileUserControllerDelegate; |
| @@ -55,15 +58,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(); |