| Index: chrome/browser/chromeos/login/users/chrome_user_manager_impl.h
|
| diff --git a/chrome/browser/chromeos/login/users/chrome_user_manager_impl.h b/chrome/browser/chromeos/login/users/chrome_user_manager_impl.h
|
| index d7794917173bb3986d9a97dd90304bf1bd562d52..a0dc6e29e1c5d550e48dcf6c84006fdd8599e065 100644
|
| --- a/chrome/browser/chromeos/login/users/chrome_user_manager_impl.h
|
| +++ b/chrome/browser/chromeos/login/users/chrome_user_manager_impl.h
|
| @@ -115,6 +115,11 @@ class ChromeUserManagerImpl
|
| // UserManagerBase implementation:
|
| bool AreEphemeralUsersEnabled() const override;
|
|
|
| + // ChromeUserManager implementation:
|
| + void SetUserAffiliation(
|
| + const std::string& user_id,
|
| + const std::set<std::string>& user_affiliation_ids) override;
|
| +
|
| protected:
|
| const std::string& GetApplicationLocale() const override;
|
| PrefService* GetLocalState() const override;
|
| @@ -206,6 +211,20 @@ class ChromeUserManagerImpl
|
| // depending on user preferences.
|
| void UpdateUserTimeZoneRefresher(Profile* profile);
|
|
|
| + // Returns device affiliation IDs. These IDs are needed to determine if user
|
| + // is affiliated on the device.
|
| + std::set<std::string> GetDeviceAffiliationIDs() const;
|
| +
|
| + // TODO(peletskyi): Remove this backwards compatibility function.
|
| + // Returns device enterprise domain. Needed for backwards compatibility
|
| + // until affiliation IDs are fully introduced.
|
| + std::string GetEnterpriseDomain() const;
|
| +
|
| + // Returns true if user with |user_affiliation_ids| and |user_email| is
|
| + // affiliated on current device.
|
| + bool IsUserAffiliated(const std::set<std::string>& user_affiliation_ids,
|
| + const std::string& user_email) const;
|
| +
|
| // Interface to the signed settings store.
|
| CrosSettings* cros_settings_;
|
|
|
|
|