Commit a7c84fb2 authored by Guillaume Jenkins's avatar Guillaume Jenkins Committed by Chromium LUCI CQ

[iOS Enterprise] BrowserSignin: FRE changes

Adds a message and an icon to the first run Welcome to Chrome page
when the browser is managed by enterprise. The browser is considered
managed if there is some policy data in the
-com.apple.configuration.managed key of the NSUserDefaults.

Bug: 1155745
Change-Id: Ice85f780c5508376d7ad1cacdddcd7927b8c97fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2580699Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarJavier Flores <javierrobles@chromium.org>
Commit-Queue: Guillaume Jenkins <gujen@google.com>
Cr-Commit-Position: refs/heads/master@{#837182}
parent 72a96aad
......@@ -828,6 +828,9 @@ Because your account is managed by <ph name="HOSTED_DOMAIN">$1<ex>google.com</ex
<message name="IDS_IOS_PHONE_CALL_BUTTON" desc="Text in the confirmation dialog button that will initiate a phone call for the presented number. [Length: 10em] [iOS only]">
Call
</message>
<message name="IDS_IOS_FIRSTRUN_BROWSER_MANAGED" desc="Label explaining that the app is managed by an organization. This is shown on the Welcome screen presented to the user on First Run. Only shown if some enterprise policies are set. [iOS only]">
Your browser is managed by your organization. Some features may be disabled.
</message>
<message name="IDS_IOS_FIRSTRUN_TERMS_TITLE" desc="Title for the Terms of Service page shown to user on First Run. [Length: 20em] [iOS only]">
Terms of Service
</message>
......
826942b951f0e9ae684c0ad623864df03781b2df
\ No newline at end of file
......@@ -49,6 +49,7 @@ source_set("first_run") {
"//base",
"//base:i18n",
"//components/metrics",
"//components/policy/core/common:common_constants",
"//components/prefs",
"//components/signin/public/identity_manager",
"//ios/chrome/app:tests_hook",
......@@ -68,6 +69,7 @@ source_set("first_run") {
"//ios/chrome/browser/ui/fancy_ui",
"//ios/chrome/browser/ui/icons",
"//ios/chrome/browser/ui/material_components",
"//ios/chrome/browser/ui/settings/resources:enterprise_icon",
"//ios/chrome/browser/ui/settings/sync/utils",
"//ios/chrome/browser/ui/settings/utils",
"//ios/chrome/browser/ui/util",
......
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