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

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: Fix an XML goof Created 3 years, 5 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
« no previous file with comments | « chrome/browser/download/trusted_sources_manager_win.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0efb07d5ea9d6530385777f832a947b7105ed188..4fa7e8e895e86396dfc0c7ce7bf9e51bcc0ea2f6 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -139,6 +139,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 },
« no previous file with comments | « chrome/browser/download/trusted_sources_manager_win.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698