Commit 7a72e886 authored by Brian Malcolm's avatar Brian Malcolm Committed by Commit Bot

Relaunch Notification: Replace domain with manager.

For FlexOrgs only, instead of saying:
"foo.com recommends that you update this device."
will instead say
"user@foo.com recommends that you update this device."

BUG=chromium:1081272

Change-Id: I1a2b4c99f93618bd414f4f07860cfce7c8eb38d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2451319Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
Commit-Queue: Brian Malcolm <bmalcolm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814217}
parent 10b99deb
...@@ -81,7 +81,7 @@ void RelaunchNotificationControllerPlatformImpl:: ...@@ -81,7 +81,7 @@ void RelaunchNotificationControllerPlatformImpl::
std::string enterprise_display_domain = std::string enterprise_display_domain =
g_browser_process->platform_part() g_browser_process->platform_part()
->browser_policy_connector_chromeos() ->browser_policy_connector_chromeos()
->GetEnterpriseDisplayDomain(); ->GetEnterpriseDomainManager();
if (past_deadline) { if (past_deadline) {
SystemTrayClient::Get()->SetUpdateNotificationState( SystemTrayClient::Get()->SetUpdateNotificationState(
ash::NotificationStyle::kAdminRecommended, ash::NotificationStyle::kAdminRecommended,
...@@ -115,7 +115,7 @@ void RelaunchNotificationControllerPlatformImpl:: ...@@ -115,7 +115,7 @@ void RelaunchNotificationControllerPlatformImpl::
relaunch_required_timer_->GetWindowTitle(), relaunch_required_timer_->GetWindowTitle(),
l10n_util::GetStringFUTF16( l10n_util::GetStringFUTF16(
IDS_RELAUNCH_REQUIRED_BODY, IDS_RELAUNCH_REQUIRED_BODY,
base::UTF8ToUTF16(connector->GetEnterpriseDisplayDomain()))); base::UTF8ToUTF16(connector->GetEnterpriseDomainManager())));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment