| Index: chrome/browser/chromeos/login/version_info_updater.cc
|
| diff --git a/chrome/browser/chromeos/login/version_info_updater.cc b/chrome/browser/chromeos/login/version_info_updater.cc
|
| index ab891a913492bada870d3dc5f20056173eed7a45..e4968c0710c16b530c602e6f19ad732059fddafc 100644
|
| --- a/chrome/browser/chromeos/login/version_info_updater.cc
|
| +++ b/chrome/browser/chromeos/login/version_info_updater.cc
|
| @@ -161,12 +161,23 @@ void VersionInfoUpdater::UpdateEnterpriseInfo() {
|
| }
|
|
|
| void VersionInfoUpdater::SetEnterpriseInfo(const std::string& domain_name,
|
| - const std::string& status_text) {
|
| + const std::string& status_text) {
|
| if (domain_name != enterprise_domain_text_ ||
|
| status_text != enterprise_status_text_) {
|
| enterprise_domain_text_ = domain_name;
|
| enterprise_status_text_ = status_text;
|
| UpdateVersionLabel();
|
| +
|
| + // Update the notification about device status reporting.
|
| + if (delegate_) {
|
| + std::string enterprise_info;
|
| + if (!domain_name.empty()) {
|
| + enterprise_info = l10n_util::GetStringFUTF8(
|
| + IDS_LOGIN_MANAGED_BY_NOTICE,
|
| + UTF8ToUTF16(enterprise_domain_text_));
|
| + delegate_->OnEnterpriseInfoUpdated(enterprise_info);
|
| + }
|
| + }
|
| }
|
| }
|
|
|
|
|