Create about:management page for management disclosure project
Create basic chrome://management page to contain the template for the
disclosure page, which describes administrator's capabilities in a
managed environment, like policies which report information, local
trust roots or force installed extensions.
Bug: 879146
Change-Id: I621bed79843b2a677ed1df82b90043bc8937e44a
Reviewed-on: https://chromium-review.googlesource.com/1196548
Commit-Queue: Stefan Teodorescu <[email protected]>
Reviewed-by: Maksim Ivanov <[email protected]>
Reviewed-by: Bernhard Bauer <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#588911}
diff --git a/components/OWNERS b/components/OWNERS
index 968e277..683e6d0 100644
--- a/components/OWNERS
+++ b/components/OWNERS
@@ -12,6 +12,7 @@
per-file crash_strings.grdp=file://components/crash/OWNERS
per-file dom_distiller_strings.grdp=file://components/dom_distiller/OWNERS
per-file error_page_strings.grdp=file://components/error_page/OWNERS
+per-file management_strings.grdp=file://components/policy/OWNERS
per-file ntp_snippets_strings.grdp=file://components/ntp_snippets/OWNERS
per-file nux_email_strings.grdp=file://components/nux/OWNERS
per-file nux_google_apps_strings.grdp=file://components/nux/OWNERS
diff --git a/components/components_strings.grd b/components/components_strings.grd
index 7573815..b372d1b 100644
--- a/components/components_strings.grd
+++ b/components/components_strings.grd
@@ -195,6 +195,7 @@
<part file="find_in_page_strings.grdp" />
<part file="history_strings.grdp" />
<part file="login_dialog_strings.grdp" />
+ <part file="management_strings.grdp" />
<part file="new_or_sad_tab_strings.grdp" />
<part file="nux_google_apps_strings.grdp" />
<part file="nux_email_strings.grdp" />
diff --git a/components/management_strings.grdp b/components/management_strings.grdp
new file mode 100644
index 0000000..91cc0c8
--- /dev/null
+++ b/components/management_strings.grdp
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<grit-part>
+ <message name="IDS_MANAGEMENT_TITLE" desc="Title of chrome://management page, which shows the administrator's capabilities in a managed environment" translateable="false">
+ Management
+ </message>
+ <message name="IDS_MANAGEMENT_DEVICE_NOT_MANAGED" desc="Message indicating that the device is not managed" translateable="false">
+ Your device is not managed by an administrator
+ </message>
+ <message name="IDS_MANAGEMENT_DEVICE_MANAGED_BY" desc="Message indicating that the device is enterprise enrolled to be managed by an administrator, from a specific domain" translateable="false">
+ Your device is managed by <ph name="ENROLLMENT_DOMAIN">$1<ex>example.com</ex></ph>
+ </message>
+ <message name="IDS_MANAGEMENT_DEVICE_MANAGED" desc="Message indicating that the device is enterprise enrolled to be managed by an administrator" translateable="false">
+ Your device is managed by an administrator
+ </message>
+</grit-part>