summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-29 19:49:45 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-29 19:49:45 +0000
commite284e6d8f6079a7cfc8eb70f010cf2378253fb18 (patch)
tree9cd71a6abb4d08b700e477f7e779cc978a39717d /chrome/common/pref_names.cc
parenteb6b623883f7956e10bdf1f1749257f91b2d75a7 (diff)
downloadchromium_src-e284e6d8f6079a7cfc8eb70f010cf2378253fb18.zip
chromium_src-e284e6d8f6079a7cfc8eb70f010cf2378253fb18.tar.gz
chromium_src-e284e6d8f6079a7cfc8eb70f010cf2378253fb18.tar.bz2
Reland r37508. Implement HostContentSettingsMap.
BUG=none TEST=none Review URL: http://codereview.chromium.org/555172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 3824985..ad07566 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -295,6 +295,13 @@ const wchar_t kDesktopNotificationAllowedOrigins[] =
const wchar_t kDesktopNotificationDeniedOrigins[] =
L"profile.notification_denied_sites";
+// Bitmask of content settings applied to hosts per default.
+const wchar_t kDefaultContentSettings[] = L"profile.default_content_settings";
+
+// Dictionary that maps hostnames to content related settings. Default
+// settings will be applied to hosts not in this pref.
+const wchar_t kPerHostContentSettings[] = L"profile.per_host_content_settings";
+
// Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
// be displayed at the default zoom level.
const wchar_t kPerHostZoomLevels[] = L"profile.per_host_zoom_levels";