Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc |
diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
index 3a8eafef614ade0db104381ee6d447b275333d43..cf0f2410cafaf11f7fc818c0a5b78f96d3f5d1e4 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
@@ -958,6 +958,18 @@ TEST_F(HostContentSettingsMapTest, ShouldAllowAllContent) { |
extension, http_host, CONTENT_SETTINGS_TYPE_COOKIES)); |
} |
+TEST_F(HostContentSettingsMapTest, IsSettingAllowedForType) { |
+ TestingProfile profile; |
+ PrefService* prefs = profile.GetPrefs(); |
+ |
+ EXPECT_TRUE(HostContentSettingsMap::IsSettingAllowedForType( |
+ prefs, CONTENT_SETTING_ASK, |
+ CONTENT_SETTINGS_TYPE_FULLSCREEN)); |
+ |
+ // TODO(msramek): Add more checks for setting type - setting pairs where |
+ // it is not obvious whether or not they are allowed. |
+} |
+ |
TEST_F(HostContentSettingsMapTest, AddContentSettingsObserver) { |
TestingProfile profile; |
HostContentSettingsMap* host_content_settings_map = |