Commit db39d6be authored by Julian Pastarmov's avatar Julian Pastarmov Committed by Commit Bot

Fix documentation for restricted policies to list macOS restrictions

Now that restrictions apply to macOS similar to Windows the policy
documentation needs to be updated to reflect this.

Side cleanup - alphabetized the kSensitivePolicies list and removed the
DefaultSearchProviderContextMenuAccessAllowed policy from it as it does
not need to be on the list as it is guarded by the
DefaultSearchProviderEnabled policy like all other policies in this
group.

BUG=1084222

Change-Id: I3208eeebcaceffdecb225d4f1e92d68446562d71
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253742
Commit-Queue: Julian Pastarmov <pastarmovj@chromium.org>
Auto-Submit: Julian Pastarmov <pastarmovj@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781883}
parent 71ad6bc3
...@@ -24,12 +24,13 @@ const char kBlockedExtensionPrefix[] = "[BLOCKED]"; ...@@ -24,12 +24,13 @@ const char kBlockedExtensionPrefix[] = "[BLOCKED]";
// List of policies that are considered only if the user is part of a AD domain // List of policies that are considered only if the user is part of a AD domain
// on Windows or managed on the Mac. Please document any new additions in // on Windows or managed on the Mac. Please document any new additions in
// policy_templates.json! // policy_templates.json!
// Please keep the list in alphabetical order!
const char* kSensitivePolicies[] = { const char* kSensitivePolicies[] = {
key::kAutoOpenFileTypes,
key::kChromeCleanupEnabled, key::kChromeCleanupEnabled,
key::kChromeCleanupReportingEnabled, key::kChromeCleanupReportingEnabled,
key::kCommandLineFlagSecurityWarningsEnabled, key::kCommandLineFlagSecurityWarningsEnabled,
key::kDefaultSearchProviderEnabled, key::kDefaultSearchProviderEnabled,
key::kAutoOpenFileTypes,
key::kHomepageIsNewTabPage, key::kHomepageIsNewTabPage,
key::kHomepageLocation, key::kHomepageLocation,
key::kMetricsReportingEnabled, key::kMetricsReportingEnabled,
...@@ -41,7 +42,6 @@ const char* kSensitivePolicies[] = { ...@@ -41,7 +42,6 @@ const char* kSensitivePolicies[] = {
key::kSafeBrowsingForTrustedSourcesEnabled, key::kSafeBrowsingForTrustedSourcesEnabled,
key::kSafeBrowsingEnabled, key::kSafeBrowsingEnabled,
key::kSafeBrowsingWhitelistDomains, key::kSafeBrowsingWhitelistDomains,
key::kDefaultSearchProviderContextMenuAccessAllowed,
}; };
} // namespace } // namespace
......
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