| Index: components/user_manager/user.h
|
| diff --git a/components/user_manager/user.h b/components/user_manager/user.h
|
| index 20befa1eb9ef31f293b0ba54fb42b9c3974875de..9a6acbcd7896c04c3c3ebbf19e1e37f0598d4f35 100644
|
| --- a/components/user_manager/user.h
|
| +++ b/components/user_manager/user.h
|
| @@ -83,6 +83,9 @@ class USER_MANAGER_EXPORT User : public UserInfo {
|
| // Returns true if user type has gaia account.
|
| static bool TypeHasGaiaAccount(UserType user_type);
|
|
|
| + explicit User(const AccountId& account_id);
|
| + ~User() override;
|
| +
|
| // UserInfo
|
| std::string GetEmail() const override;
|
| base::string16 GetDisplayName() const override;
|
| @@ -112,6 +115,9 @@ class USER_MANAGER_EXPORT User : public UserInfo {
|
| // True if the user is affiliated to the device.
|
| virtual bool IsAffiliated() const;
|
|
|
| + // True if the user is a device local account user.
|
| + virtual bool IsDeviceLocalAccount() const;
|
| +
|
| // The email the user used to log in.
|
| // TODO(alemate): rename this to GetUserEmail() (see crbug.com/548923)
|
| const std::string& email() const;
|
| @@ -194,9 +200,6 @@ class USER_MANAGER_EXPORT User : public UserInfo {
|
| static User* CreateSupervisedUser(const AccountId& account_id);
|
| static User* CreatePublicAccountUser(const AccountId& account_id);
|
|
|
| - explicit User(const AccountId& account_id);
|
| - ~User() override;
|
| -
|
| const std::string* GetAccountLocale() const { return account_locale_.get(); }
|
|
|
| // Setters are private so only UserManager can call them.
|
|
|