Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1040)

Unified Diff: chrome/browser/chromeos/login/users/multi_profile_user_controller.h

Issue 2937553002: Create Mojo Struct for user information used in login/lock screen. (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698