Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4830)

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2943763002: Add a new group policy to disable safe browsing for files downloaded from trusted sources. (Closed)
Patch Set: D'Ho! Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index ec293b683249d5db76d12542823ce3a34d5bcc63..1b2ab6ce674d8b1eb572d23ad9eab9b82ca838e2 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -138,6 +138,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kSafeBrowsingEnabled,
prefs::kSafeBrowsingEnabled,
base::Value::Type::BOOLEAN },
+ { key::kSafeBrowsingForTrustedSourcesEnabled,
+ prefs::kSafeBrowsingForTrustedSourcesEnabled,
+ base::Value::Type::BOOLEAN },
{ key::kDownloadRestrictions,
prefs::kDownloadRestrictions,
base::Value::Type::INTEGER },

Powered by Google App Engine
This is Rietveld 408576698