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

Unified Diff: chrome/common/pref_names.cc

Issue 542253003: Add a global on/off switch for content settings and expose a toggle on the Website Settings options… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@global-settings
Patch Set: Created 6 years, 3 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index d2ab104f384f5754ffc11102ccb1e4f12f0fc981..a80312dd3c49d90939d50cd4fefd9a6efa432dd8 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -990,6 +990,10 @@ const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
// Dictionary of content settings applied to all hosts by default.
const char kDefaultContentSettings[] = "profile.default_content_settings";
+// Dictionary of content settings that can globally disallow all hosts by
+// default.
+const char kOverrideContentSettings[] = "profile.override_content_settings";
Bernhard Bauer 2014/09/10 09:07:18 There are some existing prefs/switches for turning
Daniel Nishi 2014/09/10 16:38:29 Do you know an example of one off the top of your
Bernhard Bauer 2014/09/11 16:49:56 Yeah, those were the ones I had in mind. Although
+
// Boolean indicating whether the clear on exit pref was migrated to content
// settings yet.
const char kContentSettingsClearOnExitMigrated[] =
« chrome/browser/content_settings/host_content_settings_map.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698