| Index: chrome/browser/chromeos/policy/enterprise_install_attributes.cc
|
| diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
|
| index c303e9ad6a37e36692a46ba3a1644dae99d7bb2d..3da20c84680bc2f69a764edf00c5dd55d15edcc5 100644
|
| --- a/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
|
| +++ b/chrome/browser/chromeos/policy/enterprise_install_attributes.cc
|
| @@ -337,13 +337,6 @@ bool EnterpriseInstallAttributes::IsConsumerKioskDeviceWithAutoLaunch() {
|
| registration_mode_ == DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH;
|
| }
|
|
|
| -std::string EnterpriseInstallAttributes::GetRegistrationUser() {
|
| - if (!device_locked_)
|
| - return std::string();
|
| -
|
| - return registration_user_;
|
| -}
|
| -
|
| std::string EnterpriseInstallAttributes::GetDomain() const {
|
| if (!IsEnterpriseDevice())
|
| return std::string();
|
| @@ -497,4 +490,11 @@ void EnterpriseInstallAttributes::DecodeInstallAttributes(
|
| }
|
| }
|
|
|
| +std::string EnterpriseInstallAttributes::GetRegistrationUser() const {
|
| + if (!device_locked_)
|
| + return std::string();
|
| +
|
| + return registration_user_;
|
| +}
|
| +
|
| } // namespace policy
|
|
|