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

Unified Diff: components/content_settings/core/common/pref_names.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: components/content_settings/core/common/pref_names.cc
diff --git a/components/content_settings/core/common/pref_names.cc b/components/content_settings/core/common/pref_names.cc
index ebcf7f0608e16f80c79dc52fc8ddf3e2599c2b08..4e954ac4e2e18e2a6580c9ba2be68dea6967f55e 100644
--- a/components/content_settings/core/common/pref_names.cc
+++ b/components/content_settings/core/common/pref_names.cc
@@ -6,8 +6,8 @@
namespace prefs {
-// Boolean that is true if we should unconditionally block third-party cookies,
-// regardless of other content settings.
+// Boolean that is true if we should block third-party cookies, subject to
+// cookies content settings.
const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies";
// Version of the pattern format used to define content settings.
@@ -76,4 +76,11 @@ const char kManagedKeygenAllowedForUrls[] =
const char kManagedKeygenBlockedForUrls[] =
"profile.managed_keygen_blocked_for_urls";
+// Preferences that are exclusively used to store managed values to control
+// pref exceptions in content settings.
+const char kUserCookiesExceptionsUsage[] =
+ "profile.user_exceptions_usage.cookies";
+const char kUserPopupsExceptionsUsage[] =
+ "profile.user_exceptions_usage.popups";
+
} // namespace prefs

Powered by Google App Engine
This is Rietveld 408576698