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

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

Issue 1865803002: [Policy Experimental] Add policies to allow Cookies and Pop-ups exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync; compile fix in PolicyProvider::GetUserExceptionsUsageSettingForType(). Created 4 years, 8 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 b777319f9fe1a7e6c41d2283738a0d5530158f9b..7330e322cf228ad780d85229a68302377f4e2050 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -221,6 +221,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kDefaultGeolocationSetting,
prefs::kManagedDefaultGeolocationSetting,
base::Value::TYPE_INTEGER },
+ { key::kUserCookiesExceptionsUsage,
+ prefs::kUserCookiesExceptionsUsage,
+ base::Value::TYPE_INTEGER },
+ { key::kUserPopupsExceptionsUsage,
+ prefs::kUserPopupsExceptionsUsage,
+ base::Value::TYPE_INTEGER },
{ key::kSigninAllowed,
prefs::kSigninAllowed,
base::Value::TYPE_BOOLEAN },

Powered by Google App Engine
This is Rietveld 408576698