Chromium Code Reviews| Index: chrome/browser/extensions/api/settings_private/prefs_util.cc |
| diff --git a/chrome/browser/extensions/api/settings_private/prefs_util.cc b/chrome/browser/extensions/api/settings_private/prefs_util.cc |
| index 1f74db782bc96a04e7a8761a07755d76591e5837..8df8a0437a7f71994e34794b1761f24e39546695 100644 |
| --- a/chrome/browser/extensions/api/settings_private/prefs_util.cc |
| +++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc |
| @@ -109,7 +109,38 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetWhitelistedKeys() { |
| settings_private::PrefType::PREF_TYPE_BOOLEAN; |
| (*s_whitelist)["browser.clear_data.time_period"] = |
| settings_private::PrefType::PREF_TYPE_NUMBER; |
| - |
| + (*s_whitelist)["profile.default_content_setting_values.cookies"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.fullscreen"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.geolocation"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.javascript"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.media_stream_camera"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.media_stream_mic"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.notifications"] = |
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.default_content_setting_values.popups"] = |
|
Finnur
2015/10/22 14:51:45
The changes above this line are purely alphabetica
|
| + settings_private::PrefType::PREF_TYPE_NUMBER; |
| + (*s_whitelist)["profile.content_settings.exceptions.cookies"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.fullscreen"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.geolocation"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.javascript"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.media_stream_camera"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.media_stream_mic"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.notifications"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| + (*s_whitelist)["profile.content_settings.exceptions.popups"] = |
| + settings_private::PrefType::PREF_TYPE_DICTIONARY; |
| #if defined(OS_CHROMEOS) |
| (*s_whitelist)["cros.accounts.allowBWSI"] = |
| settings_private::PrefType::PREF_TYPE_BOOLEAN; |